1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
255 #define SWIGTYPE_p_wxListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_char swig_types[53]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
266 #define SWIGTYPE_p_wxComboBox swig_types[55]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
268 #define SWIGTYPE_p_wxListItem swig_types[57]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273 #define SWIGTYPE_p_wxImageList swig_types[62]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxTextAttr swig_types[64]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277 #define SWIGTYPE_p_wxPoint swig_types[66]
278 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
279 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxObject swig_types[69]
281 #define SWIGTYPE_p_wxCursor swig_types[70]
282 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
283 #define SWIGTYPE_p_wxWindow swig_types[72]
284 #define SWIGTYPE_p_wxString swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
287 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
289 #define SWIGTYPE_p_wxStaticText swig_types[78]
290 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
291 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
292 #define SWIGTYPE_p_wxColour swig_types[81]
293 #define SWIGTYPE_p_wxToolBar swig_types[82]
294 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
295 #define SWIGTYPE_p_wxValidator swig_types[84]
296 static swig_type_info
*swig_types
[86];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _controls_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_controls_
306 #define SWIG_name "_controls_"
308 /* Auxiliar swig macros that appear in the header */
310 #define SWIG_OLDOBJ 1
311 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
312 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315 #define SWIGSTATICINLINE(a) static inline a
316 #define SWIGSTATIC(a) static a
317 #define swig_new_array(size,Type) (new Type[(size)])
318 #define swig_delete(cptr) delete cptr
319 #define swig_delete_array(cptr) delete[] cptr
320 #define swig_const_cast(a,Type) const_cast<Type >(a)
321 #define swig_static_cast(a,Type) static_cast<Type >(a)
322 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
323 #define swig_new_copy(ptr,Type) (new Type(*ptr))
324 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
328 #define SWIGSTATICINLINE(a) static a
329 #define SWIGSTATIC(a) static a
330 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
331 #define swig_delete(cptr) free((char*)cptr)
332 #define swig_delete_array(cptr) free((char*)cptr)
333 #define swig_const_cast(a,Type) (Type)(a)
334 #define swig_static_cast(a,Type) (Type)(a)
335 #define swig_reinterpret_cast(a,Type) (Type)(a)
336 #define swig_numeric_cast(a,Type) (Type)(a)
337 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339 #endif /* __cplusplus */
342 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
351 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
357 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
360 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
363 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_double PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
372 static const wxString
wxPyEmptyString(wxEmptyString
);
373 static const wxString
wxPyControlNameStr(wxControlNameStr
);
375 const wxArrayString wxPyEmptyStringArray
;
377 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
498 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
500 SWIGSTATICINLINE(int)
501 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
503 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
504 if (obj
== Py_True
) {
505 if (val
) *val
= true;
508 if (obj
== Py_False
) {
509 if (val
) *val
= false;
513 if (SWIG_AsVal_int(obj
, &res
)) {
514 if (val
) *val
= (bool)res
;
518 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
524 SWIGSTATICINLINE(bool)
525 SWIG_As_bool(PyObject
* obj
)
528 if (!SWIG_AsVal_bool(obj
, &v
)) {
530 this is needed to make valgrind/purify happier. the other
531 solution is throw an exception, but since this code should work
534 memset((void*)&v
, 0, sizeof(bool));
540 SWIGSTATICINLINE(int)
541 SWIG_Check_bool(PyObject
* obj
)
543 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
547 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
548 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
549 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
550 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
551 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
553 #include <wx/checklst.h>
556 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
557 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
559 wxPyClientData
* data
= new wxPyClientData(clientData
);
560 self
->Insert(item
, pos
, data
);
562 self
->Insert(item
, pos
);
564 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
566 self
->GetSelections(lst
);
567 PyObject
*tup
= PyTuple_New(lst
.GetCount());
568 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
569 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
573 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
575 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
576 self
->GetItem(item
)->SetTextColour(c
);
579 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
581 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
582 self
->GetItem(item
)->SetBackgroundColour(c
);
585 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
587 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
588 self
->GetItem(item
)->SetFont(f
);
591 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
593 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
599 } else if (target
== Py_None
) {
604 target
= PyTuple_New(1);
605 PyTuple_SetItem(target
, 0, o2
);
608 PyTuple_SetItem(o3
, 0, o
);
611 target
= PySequence_Concat(o2
, o3
);
620 // See my_fragments.i
621 SWIGSTATICINLINE(int)
622 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
625 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
626 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
630 *val
= (unsigned long)v
;
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_As_unsigned_SS_long(PyObject
* obj
)
639 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
641 this is needed to make valgrind/purify happier. the other
642 solution is throw an exception, but since this code should work
645 memset((void*)&v
, 0, sizeof(unsigned long));
651 SWIGSTATICINLINE(int)
652 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
654 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
657 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
658 self
->AppendText(text
);
660 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
661 return self
->GetValue().Mid(from
, to
- from
);
663 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
664 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
665 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
666 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
667 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
668 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
669 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
670 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
672 #include <wx/slider.h>
675 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
676 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
679 // implement dummy items for platforms that don't have this class
681 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
683 class wxToggleButton
: public wxControl
686 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
687 const wxPoint
&, const wxSize
&, long,
688 const wxValidator
&, const wxString
&)
689 { wxPyRaiseNotImplemented(); }
692 { wxPyRaiseNotImplemented(); }
696 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
698 SWIGSTATICINLINE(PyObject
* )
699 SWIG_From_unsigned_SS_long(unsigned long value
)
701 return (value
> LONG_MAX
) ?
702 PyLong_FromUnsignedLong(value
)
703 : PyInt_FromLong(swig_numeric_cast(value
,long));
706 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
707 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
708 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
710 Py_INCREF(udata
->m_obj
);
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
718 self
->SetClientData(new wxPyUserData(clientData
));
720 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
721 wxPyUserData
* udata
= NULL
;
722 if (clientData
&& clientData
!= Py_None
)
723 udata
= new wxPyUserData(clientData
);
724 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
725 shortHelp
, longHelp
, udata
);
727 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
728 wxPyUserData
* udata
= NULL
;
729 if (clientData
&& clientData
!= Py_None
)
730 udata
= new wxPyUserData(clientData
);
731 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
732 shortHelp
, longHelp
, udata
);
734 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
735 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
737 Py_INCREF(udata
->m_obj
);
744 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
745 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
748 #include <wx/listctrl.h>
750 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
755 PyObject
* func
= (PyObject
*)funcPtr
;
756 bool blocked
= wxPyBeginBlockThreads();
758 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
759 PyObject
* result
= PyEval_CallObject(func
, args
);
762 retval
= PyInt_AsLong(result
);
766 wxPyEndBlockThreads(blocked
);
770 // C++ Version of a Python aware class
771 class wxPyListCtrl
: public wxListCtrl
{
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
779 const wxValidator
& validator
,
780 const wxString
& name
) :
781 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
783 bool Create(wxWindow
* parent
, wxWindowID id
,
787 const wxValidator
& validator
,
788 const wxString
& name
) {
789 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
793 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
794 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
799 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
801 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
802 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
803 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
807 item
.SetMask( wxLIST_MASK_STATE
|
815 if (self
->GetColumn(col
, item
))
816 return new wxListItem(item
);
820 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
821 wxListItem
* info
= new wxListItem
;
822 info
->m_itemId
= itemId
;
824 info
->m_mask
= 0xFFFF;
825 self
->GetItem(*info
);
828 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
830 self
->GetItemPosition(item
, pos
);
833 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
835 self
->GetItemRect(item
, rect
, code
);
839 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
840 if (!PyCallable_Check(func
))
842 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
844 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
848 return (wxWindow
*)self
->m_mainWin
;
852 #include <wx/treectrl.h>
853 #include "wx/wxPython/pytree.h"
855 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
856 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
857 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
858 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
859 // C++ version of Python aware wxTreeCtrl
860 class wxPyTreeCtrl
: public wxTreeCtrl
{
861 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
863 wxPyTreeCtrl() : wxTreeCtrl() {}
864 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
868 const wxValidator
& validator
,
869 const wxString
& name
) :
870 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
872 bool Create(wxWindow
*parent
, wxWindowID id
,
876 const wxValidator
& validator
,
877 const wxString
& name
) {
878 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
882 int OnCompareItems(const wxTreeItemId
& item1
,
883 const wxTreeItemId
& item2
) {
886 bool blocked
= wxPyBeginBlockThreads();
887 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
888 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
889 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
894 wxPyEndBlockThreads(blocked
);
896 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
902 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
906 #if UINT_MAX < LONG_MAX
907 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
908 #define SWIG_From_unsigned_SS_int SWIG_From_long
911 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
912 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
917 SWIGSTATICINLINE(int)
918 SWIG_CheckUnsignedLongInRange(unsigned long value
,
919 unsigned long max_value
,
922 if (value
> max_value
) {
924 PyErr_Format(PyExc_OverflowError
,
925 "value %ld is greater than '%s' minimum %ld",
926 value
, errmsg
, max_value
);
934 #if UINT_MAX != ULONG_MAX
935 SWIGSTATICINLINE(int)
936 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
938 const char* errmsg
= val
? "unsigned int" : 0;
940 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
941 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
942 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
949 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
954 SWIGSTATICINLINE(unsigned int)
955 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
957 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
962 SWIGSTATICINLINE(unsigned int)
963 SWIG_As_unsigned_SS_int(PyObject
* obj
)
966 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
968 this is needed to make valgrind/purify happier. the other
969 solution is throw an exception, but since this code should work
972 memset((void*)&v
, 0, sizeof(unsigned int));
978 SWIGSTATICINLINE(int)
979 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
981 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
984 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
985 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
987 data
= new wxPyTreeItemData();
988 data
->SetId(item
); // set the id
989 self
->SetItemData(item
, data
);
993 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
994 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
996 data
= new wxPyTreeItemData();
997 data
->SetId(item
); // set the id
998 self
->SetItemData(item
, data
);
1000 return data
->GetData();
1002 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1003 data
->SetId(item
); // set the id
1004 self
->SetItemData(item
, data
);
1006 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1007 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1009 data
= new wxPyTreeItemData(obj
);
1010 data
->SetId(item
); // set the id
1011 self
->SetItemData(item
, data
);
1015 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1016 bool blocked
= wxPyBeginBlockThreads();
1017 PyObject
* rval
= PyList_New(0);
1018 wxArrayTreeItemIds array
;
1020 num
= self
->GetSelections(array
);
1021 for (x
=0; x
< num
; x
++) {
1022 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1023 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
1024 PyList_Append(rval
, item
);
1027 wxPyEndBlockThreads(blocked
);
1030 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1032 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1033 bool blocked
= wxPyBeginBlockThreads();
1034 PyObject
* tup
= PyTuple_New(2);
1035 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1036 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1037 wxPyEndBlockThreads(blocked
);
1040 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1041 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1042 bool blocked
= wxPyBeginBlockThreads();
1043 PyObject
* tup
= PyTuple_New(2);
1044 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1045 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1046 wxPyEndBlockThreads(blocked
);
1049 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1051 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1052 bool blocked
= wxPyBeginBlockThreads();
1053 wxRect
* r
= new wxRect(rect
);
1054 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
1055 wxPyEndBlockThreads(blocked
);
1061 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1063 SWIGSTATICINLINE(PyObject
*)
1064 SWIG_From_bool(bool value
)
1066 PyObject
*obj
= value
? Py_True
: Py_False
;
1072 // C++ version of Python aware wxControl
1073 class wxPyControl
: public wxControl
1075 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1077 wxPyControl() : wxControl() {}
1078 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1079 const wxPoint
& pos
= wxDefaultPosition
,
1080 const wxSize
& size
= wxDefaultSize
,
1082 const wxValidator
& validator
=wxDefaultValidator
,
1083 const wxString
& name
= wxPyControlNameStr
)
1084 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1086 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1088 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1089 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1090 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1091 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1093 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1094 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1095 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1097 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1098 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1100 DEC_PYCALLBACK__(InitDialog
);
1101 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1102 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1103 DEC_PYCALLBACK_BOOL_(Validate
);
1105 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1106 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1107 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1109 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1110 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1112 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1113 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1114 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1119 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1121 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1122 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1123 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1124 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1126 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1127 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1128 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1131 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1133 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1134 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1135 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1136 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1138 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1139 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1140 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1142 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1143 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1145 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1146 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1147 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1151 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1153 #include <wx/generic/dragimgg.h>
1158 static int _wrap_ButtonNameStr_set(PyObject
*) {
1159 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1164 static PyObject
*_wrap_ButtonNameStr_get() {
1169 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1171 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1178 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxWindow
*arg1
= (wxWindow
*) 0 ;
1181 int arg2
= (int) -1 ;
1182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1184 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1185 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1186 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1187 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1188 long arg6
= (long) 0 ;
1189 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1190 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1191 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1194 bool temp3
= False
;
1197 bool temp8
= False
;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj1
= 0 ;
1200 PyObject
* obj2
= 0 ;
1201 PyObject
* obj3
= 0 ;
1202 PyObject
* obj4
= 0 ;
1203 PyObject
* obj5
= 0 ;
1204 PyObject
* obj6
= 0 ;
1205 PyObject
* obj7
= 0 ;
1207 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 arg2
= (int)SWIG_As_int(obj1
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1219 arg3
= wxString_in_helper(obj2
);
1220 if (arg3
== NULL
) SWIG_fail
;
1227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1237 arg6
= (long)SWIG_As_long(obj5
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1241 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1245 PyErr_SetString(PyExc_TypeError
,"null reference");
1251 arg8
= wxString_in_helper(obj7
);
1252 if (arg8
== NULL
) SWIG_fail
;
1257 if (!wxPyCheckForApp()) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1287 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1296 if (!wxPyCheckForApp()) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 result
= (wxButton
*)new wxButton();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1310 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxButton
*arg1
= (wxButton
*) 0 ;
1313 wxWindow
*arg2
= (wxWindow
*) 0 ;
1314 int arg3
= (int) -1 ;
1315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1321 long arg7
= (long) 0 ;
1322 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1323 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1324 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1327 bool temp4
= False
;
1330 bool temp9
= False
;
1331 PyObject
* obj0
= 0 ;
1332 PyObject
* obj1
= 0 ;
1333 PyObject
* obj2
= 0 ;
1334 PyObject
* obj3
= 0 ;
1335 PyObject
* obj4
= 0 ;
1336 PyObject
* obj5
= 0 ;
1337 PyObject
* obj6
= 0 ;
1338 PyObject
* obj7
= 0 ;
1339 PyObject
* obj8
= 0 ;
1341 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg3
= (int)SWIG_As_int(obj2
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1355 arg4
= wxString_in_helper(obj3
);
1356 if (arg4
== NULL
) SWIG_fail
;
1363 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1369 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1373 arg7
= (long)SWIG_As_long(obj6
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1381 PyErr_SetString(PyExc_TypeError
,"null reference");
1387 arg9
= wxString_in_helper(obj8
);
1388 if (arg9
== NULL
) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1424 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
*resultobj
;
1426 wxButton
*arg1
= (wxButton
*) 0 ;
1427 PyObject
* obj0
= 0 ;
1429 (char *) "self", NULL
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 (arg1
)->SetDefault();
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 Py_INCREF(Py_None
); resultobj
= Py_None
;
1449 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= wxButton::GetDefaultSize();
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1466 resultptr
= new wxSize((wxSize
&) result
);
1467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1475 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1478 wxVisualAttributes result
;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "variant", NULL
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1486 arg1
= (int)SWIG_As_int(obj0
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1490 if (!wxPyCheckForApp()) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1498 wxVisualAttributes
* resultptr
;
1499 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1508 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1511 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1513 return Py_BuildValue((char *)"");
1515 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
*resultobj
;
1517 wxWindow
*arg1
= (wxWindow
*) 0 ;
1518 int arg2
= (int) -1 ;
1519 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1520 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1525 long arg6
= (long) wxBU_AUTODRAW
;
1526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1528 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1530 wxBitmapButton
*result
;
1533 bool temp8
= False
;
1534 PyObject
* obj0
= 0 ;
1535 PyObject
* obj1
= 0 ;
1536 PyObject
* obj2
= 0 ;
1537 PyObject
* obj3
= 0 ;
1538 PyObject
* obj4
= 0 ;
1539 PyObject
* obj5
= 0 ;
1540 PyObject
* obj6
= 0 ;
1541 PyObject
* obj7
= 0 ;
1543 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1550 arg2
= (int)SWIG_As_int(obj1
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1558 PyErr_SetString(PyExc_TypeError
,"null reference");
1565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1575 arg6
= (long)SWIG_As_long(obj5
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1583 PyErr_SetString(PyExc_TypeError
,"null reference");
1589 arg8
= wxString_in_helper(obj7
);
1590 if (arg8
== NULL
) SWIG_fail
;
1595 if (!wxPyCheckForApp()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1617 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*result
;
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1626 if (!wxPyCheckForApp()) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 result
= (wxBitmapButton
*)new wxBitmapButton();
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1640 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 wxWindow
*arg2
= (wxWindow
*) 0 ;
1644 int arg3
= (int) -1 ;
1645 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1646 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1651 long arg7
= (long) wxBU_AUTODRAW
;
1652 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1653 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1654 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1655 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1659 bool temp9
= False
;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1664 PyObject
* obj4
= 0 ;
1665 PyObject
* obj5
= 0 ;
1666 PyObject
* obj6
= 0 ;
1667 PyObject
* obj7
= 0 ;
1668 PyObject
* obj8
= 0 ;
1670 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 arg3
= (int)SWIG_As_int(obj2
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1687 PyErr_SetString(PyExc_TypeError
,"null reference");
1694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1704 arg7
= (long)SWIG_As_long(obj6
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1712 PyErr_SetString(PyExc_TypeError
,"null reference");
1718 arg9
= wxString_in_helper(obj8
);
1719 if (arg9
== NULL
) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1747 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1751 PyObject
* obj0
= 0 ;
1753 (char *) "self", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 result
= (arg1
)->GetBitmapLabel();
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1767 wxBitmap
* resultptr
;
1768 resultptr
= new wxBitmap((wxBitmap
&) result
);
1769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1777 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (arg1
)->GetBitmapDisabled();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxBitmap
* resultptr
;
1798 resultptr
= new wxBitmap((wxBitmap
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1807 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= (arg1
)->GetBitmapFocus();
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 wxBitmap
* resultptr
;
1828 resultptr
= new wxBitmap((wxBitmap
&) result
);
1829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1837 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (arg1
)->GetBitmapSelected();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1857 wxBitmap
* resultptr
;
1858 resultptr
= new wxBitmap((wxBitmap
&) result
);
1859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1867 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 wxBitmap
*arg2
= 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "self",(char *) "bitmap", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1884 PyErr_SetString(PyExc_TypeError
,"null reference");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1904 wxBitmap
*arg2
= 0 ;
1905 PyObject
* obj0
= 0 ;
1906 PyObject
* obj1
= 0 ;
1908 (char *) "self",(char *) "bitmap", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1918 PyErr_SetString(PyExc_TypeError
,"null reference");
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 Py_INCREF(Py_None
); resultobj
= Py_None
;
1935 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1938 wxBitmap
*arg2
= 0 ;
1939 PyObject
* obj0
= 0 ;
1940 PyObject
* obj1
= 0 ;
1942 (char *) "self",(char *) "bitmap", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1952 PyErr_SetString(PyExc_TypeError
,"null reference");
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 Py_INCREF(Py_None
); resultobj
= Py_None
;
1969 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1972 wxBitmap
*arg2
= 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1976 (char *) "self",(char *) "bitmap", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1986 PyErr_SetString(PyExc_TypeError
,"null reference");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "x",(char *) "y", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetMargins(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2042 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_From_int((int)result
);
2062 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_From_int((int)result
);
2088 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2091 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2093 return Py_BuildValue((char *)"");
2095 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2096 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2101 static PyObject
*_wrap_CheckBoxNameStr_get() {
2106 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2108 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2115 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxWindow
*arg1
= (wxWindow
*) 0 ;
2118 int arg2
= (int) -1 ;
2119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2125 long arg6
= (long) 0 ;
2126 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2127 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2128 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2129 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2131 bool temp3
= False
;
2134 bool temp8
= False
;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2137 PyObject
* obj2
= 0 ;
2138 PyObject
* obj3
= 0 ;
2139 PyObject
* obj4
= 0 ;
2140 PyObject
* obj5
= 0 ;
2141 PyObject
* obj6
= 0 ;
2142 PyObject
* obj7
= 0 ;
2144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 arg2
= (int)SWIG_As_int(obj1
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2156 arg3
= wxString_in_helper(obj2
);
2157 if (arg3
== NULL
) SWIG_fail
;
2164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2174 arg6
= (long)SWIG_As_long(obj5
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2182 PyErr_SetString(PyExc_TypeError
,"null reference");
2188 arg8
= wxString_in_helper(obj7
);
2189 if (arg8
== NULL
) SWIG_fail
;
2194 if (!wxPyCheckForApp()) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2224 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2233 if (!wxPyCheckForApp()) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 result
= (wxCheckBox
*)new wxCheckBox();
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2247 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 wxWindow
*arg2
= (wxWindow
*) 0 ;
2251 int arg3
= (int) -1 ;
2252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2258 long arg7
= (long) 0 ;
2259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2261 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2264 bool temp4
= False
;
2267 bool temp9
= False
;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2270 PyObject
* obj2
= 0 ;
2271 PyObject
* obj3
= 0 ;
2272 PyObject
* obj4
= 0 ;
2273 PyObject
* obj5
= 0 ;
2274 PyObject
* obj6
= 0 ;
2275 PyObject
* obj7
= 0 ;
2276 PyObject
* obj8
= 0 ;
2278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 arg3
= (int)SWIG_As_int(obj2
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2292 arg4
= wxString_in_helper(obj3
);
2293 if (arg4
== NULL
) SWIG_fail
;
2300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2310 arg7
= (long)SWIG_As_long(obj6
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2318 PyErr_SetString(PyExc_TypeError
,"null reference");
2324 arg9
= wxString_in_helper(obj8
);
2325 if (arg9
== NULL
) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2361 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2363 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2365 PyObject
* obj0
= 0 ;
2367 (char *) "self", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 result
= (bool)(arg1
)->GetValue();
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2389 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2395 (char *) "self", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (bool)(arg1
)->IsChecked();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2417 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "state", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 arg2
= (bool)SWIG_As_bool(obj1
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 (arg1
)->SetValue(arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "self", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 resultobj
= SWIG_From_int((int)result
);
2472 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2476 PyObject
* obj0
= 0 ;
2477 PyObject
* obj1
= 0 ;
2479 (char *) "self",(char *) "state", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int)SWIG_As_int(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2507 (char *) "self", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2529 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2557 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2560 wxVisualAttributes result
;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "variant", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2568 arg1
= (int)SWIG_As_int(obj0
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2580 wxVisualAttributes
* resultptr
;
2581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2590 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2595 return Py_BuildValue((char *)"");
2597 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2598 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2603 static PyObject
*_wrap_ChoiceNameStr_get() {
2608 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2610 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2617 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxWindow
*arg1
= (wxWindow
*) 0 ;
2620 int arg2
= (int) -1 ;
2621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2625 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2626 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2627 long arg6
= (long) 0 ;
2628 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2629 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2630 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2631 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 bool temp5
= False
;
2636 bool temp8
= False
;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2639 PyObject
* obj2
= 0 ;
2640 PyObject
* obj3
= 0 ;
2641 PyObject
* obj4
= 0 ;
2642 PyObject
* obj5
= 0 ;
2643 PyObject
* obj6
= 0 ;
2644 PyObject
* obj7
= 0 ;
2646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 arg2
= (int)SWIG_As_int(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2670 if (! PySequence_Check(obj4
)) {
2671 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2674 arg5
= new wxArrayString
;
2676 int i
, len
=PySequence_Length(obj4
);
2677 for (i
=0; i
<len
; i
++) {
2678 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2680 PyObject
* str
= PyObject_Unicode(item
);
2682 PyObject
* str
= PyObject_Str(item
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg5
->Add(Py2wxString(str
));
2692 arg6
= (long)SWIG_As_long(obj5
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2700 PyErr_SetString(PyExc_TypeError
,"null reference");
2706 arg8
= wxString_in_helper(obj7
);
2707 if (arg8
== NULL
) SWIG_fail
;
2712 if (!wxPyCheckForApp()) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2721 if (temp5
) delete arg5
;
2730 if (temp5
) delete arg5
;
2740 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2749 if (!wxPyCheckForApp()) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 result
= (wxChoice
*)new wxChoice();
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2763 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxChoice
*arg1
= (wxChoice
*) 0 ;
2766 wxWindow
*arg2
= (wxWindow
*) 0 ;
2767 int arg3
= (int) -1 ;
2768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2772 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2773 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2774 long arg7
= (long) 0 ;
2775 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2776 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2777 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2778 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2782 bool temp6
= False
;
2783 bool temp9
= False
;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2787 PyObject
* obj3
= 0 ;
2788 PyObject
* obj4
= 0 ;
2789 PyObject
* obj5
= 0 ;
2790 PyObject
* obj6
= 0 ;
2791 PyObject
* obj7
= 0 ;
2792 PyObject
* obj8
= 0 ;
2794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 arg3
= (int)SWIG_As_int(obj2
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2820 if (! PySequence_Check(obj5
)) {
2821 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2824 arg6
= new wxArrayString
;
2826 int i
, len
=PySequence_Length(obj5
);
2827 for (i
=0; i
<len
; i
++) {
2828 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2830 PyObject
* str
= PyObject_Unicode(item
);
2832 PyObject
* str
= PyObject_Str(item
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2835 arg6
->Add(Py2wxString(str
));
2842 arg7
= (long)SWIG_As_long(obj6
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2850 PyErr_SetString(PyExc_TypeError
,"null reference");
2856 arg9
= wxString_in_helper(obj8
);
2857 if (arg9
== NULL
) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2872 if (temp6
) delete arg6
;
2881 if (temp6
) delete arg6
;
2891 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxChoice
*arg1
= (wxChoice
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "self",(char *) "n", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2904 arg2
= (int)SWIG_As_int(obj1
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->SetSelection(arg2
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxChoice
*arg1
= (wxChoice
*) 0 ;
2923 wxString
*arg2
= 0 ;
2925 bool temp2
= False
;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2929 (char *) "self",(char *) "string", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 arg2
= wxString_in_helper(obj1
);
2937 if (arg2
== NULL
) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2964 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxChoice
*arg1
= (wxChoice
*) 0 ;
2968 wxString
*arg3
= 0 ;
2969 bool temp3
= False
;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2972 PyObject
* obj2
= 0 ;
2974 (char *) "self",(char *) "n",(char *) "string", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 arg2
= (int)SWIG_As_int(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 arg3
= wxString_in_helper(obj2
);
2984 if (arg3
== NULL
) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3012 wxVisualAttributes result
;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "variant", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3020 arg1
= (int)SWIG_As_int(obj0
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 if (!wxPyCheckForApp()) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 wxVisualAttributes
* resultptr
;
3033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3042 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3045 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3047 return Py_BuildValue((char *)"");
3049 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3050 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3055 static PyObject
*_wrap_ComboBoxNameStr_get() {
3060 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3062 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3069 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxWindow
*arg1
= (wxWindow
*) 0 ;
3072 int arg2
= (int) -1 ;
3073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3079 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3080 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3081 long arg7
= (long) 0 ;
3082 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3083 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3084 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3085 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3087 bool temp3
= False
;
3090 bool temp6
= False
;
3091 bool temp9
= False
;
3092 PyObject
* obj0
= 0 ;
3093 PyObject
* obj1
= 0 ;
3094 PyObject
* obj2
= 0 ;
3095 PyObject
* obj3
= 0 ;
3096 PyObject
* obj4
= 0 ;
3097 PyObject
* obj5
= 0 ;
3098 PyObject
* obj6
= 0 ;
3099 PyObject
* obj7
= 0 ;
3100 PyObject
* obj8
= 0 ;
3102 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= (int)SWIG_As_int(obj1
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3114 arg3
= wxString_in_helper(obj2
);
3115 if (arg3
== NULL
) SWIG_fail
;
3122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3133 if (! PySequence_Check(obj5
)) {
3134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3137 arg6
= new wxArrayString
;
3139 int i
, len
=PySequence_Length(obj5
);
3140 for (i
=0; i
<len
; i
++) {
3141 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3143 PyObject
* str
= PyObject_Unicode(item
);
3145 PyObject
* str
= PyObject_Str(item
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 arg6
->Add(Py2wxString(str
));
3155 arg7
= (long)SWIG_As_long(obj6
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3163 PyErr_SetString(PyExc_TypeError
,"null reference");
3169 arg9
= wxString_in_helper(obj8
);
3170 if (arg9
== NULL
) SWIG_fail
;
3175 if (!wxPyCheckForApp()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3188 if (temp6
) delete arg6
;
3201 if (temp6
) delete arg6
;
3211 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3220 if (!wxPyCheckForApp()) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= (wxComboBox
*)new wxComboBox();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3234 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3237 wxWindow
*arg2
= (wxWindow
*) 0 ;
3238 int arg3
= (int) -1 ;
3239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3241 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3242 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3243 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3244 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3245 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3246 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3247 long arg8
= (long) 0 ;
3248 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3249 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3250 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3251 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3253 bool temp4
= False
;
3256 bool temp7
= False
;
3257 bool temp10
= False
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3263 PyObject
* obj5
= 0 ;
3264 PyObject
* obj6
= 0 ;
3265 PyObject
* obj7
= 0 ;
3266 PyObject
* obj8
= 0 ;
3267 PyObject
* obj9
= 0 ;
3269 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 arg3
= (int)SWIG_As_int(obj2
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3283 arg4
= wxString_in_helper(obj3
);
3284 if (arg4
== NULL
) SWIG_fail
;
3291 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3302 if (! PySequence_Check(obj6
)) {
3303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3306 arg7
= new wxArrayString
;
3308 int i
, len
=PySequence_Length(obj6
);
3309 for (i
=0; i
<len
; i
++) {
3310 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3312 PyObject
* str
= PyObject_Unicode(item
);
3314 PyObject
* str
= PyObject_Str(item
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3317 arg7
->Add(Py2wxString(str
));
3324 arg8
= (long)SWIG_As_long(obj7
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3332 PyErr_SetString(PyExc_TypeError
,"null reference");
3338 arg10
= wxString_in_helper(obj9
);
3339 if (arg10
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3358 if (temp7
) delete arg7
;
3371 if (temp7
) delete arg7
;
3381 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3387 (char *) "self", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= ((wxComboBox
const *)arg1
)->GetValue();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3413 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3416 wxString
*arg2
= 0 ;
3417 bool temp2
= False
;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "value", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= wxString_in_helper(obj1
);
3429 if (arg2
== NULL
) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetValue((wxString
const &)*arg2
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3484 (char *) "self", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "pos", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (long)SWIG_As_long(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetInsertionPoint(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_From_long((long)result
);
3584 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= SWIG_From_long((long)result
);
3610 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3615 wxString
*arg4
= 0 ;
3616 bool temp4
= False
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 PyObject
* obj3
= 0 ;
3622 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 arg2
= (long)SWIG_As_long(obj1
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3630 arg3
= (long)SWIG_As_long(obj2
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 arg4
= wxString_in_helper(obj3
);
3634 if (arg4
== NULL
) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "n", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg2
= (int)SWIG_As_int(obj1
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetSelection(arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "from",(char *) "to", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 arg2
= (long)SWIG_As_long(obj1
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3705 arg3
= (long)SWIG_As_long(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetSelection(arg2
,arg3
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3724 wxString
*arg2
= 0 ;
3726 bool temp2
= False
;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "string", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= wxString_in_helper(obj1
);
3738 if (arg2
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3765 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3769 wxString
*arg3
= 0 ;
3770 bool temp3
= False
;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3775 (char *) "self",(char *) "n",(char *) "string", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 arg2
= (int)SWIG_As_int(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 arg3
= wxString_in_helper(obj2
);
3785 if (arg3
== NULL
) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "editable", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3823 arg2
= (bool)SWIG_As_bool(obj1
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->SetEditable(arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetInsertionPointEnd();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3871 PyObject
* obj2
= 0 ;
3873 (char *) "self",(char *) "from",(char *) "to", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= (long)SWIG_As_long(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3881 arg3
= (long)SWIG_As_long(obj2
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 (arg1
)->Remove(arg2
,arg3
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3900 wxVisualAttributes result
;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "variant", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3908 arg1
= (int)SWIG_As_int(obj0
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 wxVisualAttributes
* resultptr
;
3921 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3930 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3933 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3935 return Py_BuildValue((char *)"");
3937 static int _wrap_GaugeNameStr_set(PyObject
*) {
3938 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3943 static PyObject
*_wrap_GaugeNameStr_get() {
3948 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3950 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3957 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxWindow
*arg1
= (wxWindow
*) 0 ;
3960 int arg2
= (int) -1 ;
3961 int arg3
= (int) 100 ;
3962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3966 long arg6
= (long) wxGA_HORIZONTAL
;
3967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3969 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3974 bool temp8
= False
;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3978 PyObject
* obj3
= 0 ;
3979 PyObject
* obj4
= 0 ;
3980 PyObject
* obj5
= 0 ;
3981 PyObject
* obj6
= 0 ;
3982 PyObject
* obj7
= 0 ;
3984 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= (int)SWIG_As_int(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 arg3
= (int)SWIG_As_int(obj2
);
3996 if (PyErr_Occurred()) SWIG_fail
;
4001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4011 arg6
= (long)SWIG_As_long(obj5
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4019 PyErr_SetString(PyExc_TypeError
,"null reference");
4025 arg8
= wxString_in_helper(obj7
);
4026 if (arg8
== NULL
) SWIG_fail
;
4031 if (!wxPyCheckForApp()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4053 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4062 if (!wxPyCheckForApp()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (wxGauge
*)new wxGauge();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4076 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4079 wxWindow
*arg2
= (wxWindow
*) 0 ;
4080 int arg3
= (int) -1 ;
4081 int arg4
= (int) 100 ;
4082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4086 long arg7
= (long) wxGA_HORIZONTAL
;
4087 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4088 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4089 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4090 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4094 bool temp9
= False
;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj2
= 0 ;
4098 PyObject
* obj3
= 0 ;
4099 PyObject
* obj4
= 0 ;
4100 PyObject
* obj5
= 0 ;
4101 PyObject
* obj6
= 0 ;
4102 PyObject
* obj7
= 0 ;
4103 PyObject
* obj8
= 0 ;
4105 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg3
= (int)SWIG_As_int(obj2
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 arg4
= (int)SWIG_As_int(obj3
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4134 arg7
= (long)SWIG_As_long(obj6
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4142 PyErr_SetString(PyExc_TypeError
,"null reference");
4148 arg9
= wxString_in_helper(obj8
);
4149 if (arg9
== NULL
) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "range", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int)SWIG_As_int(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetRange(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pos", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int)SWIG_As_int(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetValue(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_From_int((int)result
);
4287 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxGauge
*arg1
= (wxGauge
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4315 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxGauge
*arg1
= (wxGauge
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "w", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (int)SWIG_As_int(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetShadowWidth(arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxGauge
*arg1
= (wxGauge
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_From_int((int)result
);
4370 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxGauge
*arg1
= (wxGauge
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4377 (char *) "self",(char *) "w", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4383 arg2
= (int)SWIG_As_int(obj1
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBezelFace(arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxGauge
*arg1
= (wxGauge
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4405 (char *) "self", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int((int)result
);
4425 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4428 wxVisualAttributes result
;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "variant", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4436 arg1
= (int)SWIG_As_int(obj0
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4440 if (!wxPyCheckForApp()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 wxVisualAttributes
* resultptr
;
4449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4458 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4461 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4463 return Py_BuildValue((char *)"");
4465 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4466 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4471 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4476 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4478 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4485 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4486 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4491 static PyObject
*_wrap_StaticBoxNameStr_get() {
4496 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4498 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4505 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4506 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4511 static PyObject
*_wrap_StaticTextNameStr_get() {
4516 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4518 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4525 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxWindow
*arg1
= (wxWindow
*) 0 ;
4528 int arg2
= (int) -1 ;
4529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4535 long arg6
= (long) 0 ;
4536 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4538 wxStaticBox
*result
;
4539 bool temp3
= False
;
4542 bool temp7
= False
;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4545 PyObject
* obj2
= 0 ;
4546 PyObject
* obj3
= 0 ;
4547 PyObject
* obj4
= 0 ;
4548 PyObject
* obj5
= 0 ;
4549 PyObject
* obj6
= 0 ;
4551 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (int)SWIG_As_int(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4563 arg3
= wxString_in_helper(obj2
);
4564 if (arg3
== NULL
) SWIG_fail
;
4571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4581 arg6
= (long)SWIG_As_long(obj5
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4586 arg7
= wxString_in_helper(obj6
);
4587 if (arg7
== NULL
) SWIG_fail
;
4592 if (!wxPyCheckForApp()) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4622 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxStaticBox
*result
;
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4631 if (!wxPyCheckForApp()) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxStaticBox
*)new wxStaticBox();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4645 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4648 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 int arg3
= (int) -1 ;
4650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4660 bool temp4
= False
;
4663 bool temp8
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4670 PyObject
* obj6
= 0 ;
4671 PyObject
* obj7
= 0 ;
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 arg3
= (int)SWIG_As_int(obj2
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4687 arg4
= wxString_in_helper(obj3
);
4688 if (arg4
== NULL
) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4701 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4705 arg7
= (long)SWIG_As_long(obj6
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 arg8
= wxString_in_helper(obj7
);
4711 if (arg8
== NULL
) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4750 wxVisualAttributes result
;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "variant", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4758 arg1
= (int)SWIG_As_int(obj0
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 wxVisualAttributes
* resultptr
;
4771 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4780 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4783 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4785 return Py_BuildValue((char *)"");
4787 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxWindow
*arg1
= (wxWindow
*) 0 ;
4790 int arg2
= (int) -1 ;
4791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4795 long arg5
= (long) wxLI_HORIZONTAL
;
4796 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4798 wxStaticLine
*result
;
4801 bool temp6
= False
;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4805 PyObject
* obj3
= 0 ;
4806 PyObject
* obj4
= 0 ;
4807 PyObject
* obj5
= 0 ;
4809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4816 arg2
= (int)SWIG_As_int(obj1
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4832 arg5
= (long)SWIG_As_long(obj4
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4837 arg6
= wxString_in_helper(obj5
);
4838 if (arg6
== NULL
) SWIG_fail
;
4843 if (!wxPyCheckForApp()) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4865 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStaticLine
*result
;
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4874 if (!wxPyCheckForApp()) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxStaticLine
*)new wxStaticLine();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4888 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4891 wxWindow
*arg2
= (wxWindow
*) 0 ;
4892 int arg3
= (int) -1 ;
4893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4897 long arg6
= (long) wxLI_HORIZONTAL
;
4898 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4903 bool temp7
= False
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 arg3
= (int)SWIG_As_int(obj2
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4937 arg6
= (long)SWIG_As_long(obj5
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 arg7
= wxString_in_helper(obj6
);
4943 if (arg7
== NULL
) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4971 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)wxStaticLine::GetDefaultSize();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int((int)result
);
5021 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5024 wxVisualAttributes result
;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "variant", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5032 arg1
= (int)SWIG_As_int(obj0
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 if (!wxPyCheckForApp()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 wxVisualAttributes
* resultptr
;
5045 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5054 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5057 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5059 return Py_BuildValue((char *)"");
5061 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxWindow
*arg1
= (wxWindow
*) 0 ;
5064 int arg2
= (int) -1 ;
5065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5071 long arg6
= (long) 0 ;
5072 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5074 wxStaticText
*result
;
5075 bool temp3
= False
;
5078 bool temp7
= False
;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5084 PyObject
* obj5
= 0 ;
5085 PyObject
* obj6
= 0 ;
5087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int)SWIG_As_int(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 arg3
= wxString_in_helper(obj2
);
5100 if (arg3
== NULL
) SWIG_fail
;
5107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5117 arg6
= (long)SWIG_As_long(obj5
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5122 arg7
= wxString_in_helper(obj6
);
5123 if (arg7
== NULL
) SWIG_fail
;
5128 if (!wxPyCheckForApp()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5158 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStaticText
*result
;
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxStaticText
*)new wxStaticText();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5181 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5184 wxWindow
*arg2
= (wxWindow
*) 0 ;
5185 int arg3
= (int) -1 ;
5186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5192 long arg7
= (long) 0 ;
5193 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5196 bool temp4
= False
;
5199 bool temp8
= False
;
5200 PyObject
* obj0
= 0 ;
5201 PyObject
* obj1
= 0 ;
5202 PyObject
* obj2
= 0 ;
5203 PyObject
* obj3
= 0 ;
5204 PyObject
* obj4
= 0 ;
5205 PyObject
* obj5
= 0 ;
5206 PyObject
* obj6
= 0 ;
5207 PyObject
* obj7
= 0 ;
5209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 arg3
= (int)SWIG_As_int(obj2
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5223 arg4
= wxString_in_helper(obj3
);
5224 if (arg4
== NULL
) SWIG_fail
;
5231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5241 arg7
= (long)SWIG_As_long(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5283 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5286 wxVisualAttributes result
;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "variant", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5294 arg1
= (int)SWIG_As_int(obj0
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 if (!wxPyCheckForApp()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 wxVisualAttributes
* resultptr
;
5307 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5316 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5319 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5321 return Py_BuildValue((char *)"");
5323 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxWindow
*arg1
= (wxWindow
*) 0 ;
5326 int arg2
= (int) -1 ;
5327 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5328 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5333 long arg6
= (long) 0 ;
5334 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5336 wxStaticBitmap
*result
;
5339 bool temp7
= False
;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5342 PyObject
* obj2
= 0 ;
5343 PyObject
* obj3
= 0 ;
5344 PyObject
* obj4
= 0 ;
5345 PyObject
* obj5
= 0 ;
5346 PyObject
* obj6
= 0 ;
5348 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (int)SWIG_As_int(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5363 PyErr_SetString(PyExc_TypeError
,"null reference");
5370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5380 arg6
= (long)SWIG_As_long(obj5
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 arg7
= wxString_in_helper(obj6
);
5386 if (arg7
== NULL
) SWIG_fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5413 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxStaticBitmap
*result
;
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5422 if (!wxPyCheckForApp()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5436 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5439 wxWindow
*arg2
= (wxWindow
*) 0 ;
5440 int arg3
= (int) -1 ;
5441 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5442 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5447 long arg7
= (long) 0 ;
5448 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5453 bool temp8
= False
;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 PyObject
* obj2
= 0 ;
5457 PyObject
* obj3
= 0 ;
5458 PyObject
* obj4
= 0 ;
5459 PyObject
* obj5
= 0 ;
5460 PyObject
* obj6
= 0 ;
5461 PyObject
* obj7
= 0 ;
5463 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 arg3
= (int)SWIG_As_int(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5480 PyErr_SetString(PyExc_TypeError
,"null reference");
5487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5497 arg7
= (long)SWIG_As_long(obj6
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 arg8
= wxString_in_helper(obj7
);
5503 if (arg8
== NULL
) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5531 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (arg1
)->GetBitmap();
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 wxBitmap
* resultptr
;
5552 resultptr
= new wxBitmap((wxBitmap
&) result
);
5553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5561 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5564 wxBitmap
*arg2
= 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "bitmap", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5578 PyErr_SetString(PyExc_TypeError
,"null reference");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "icon", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5612 PyErr_SetString(PyExc_TypeError
,"null reference");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5632 wxVisualAttributes result
;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "variant", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5640 arg1
= (int)SWIG_As_int(obj0
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 if (!wxPyCheckForApp()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 wxVisualAttributes
* resultptr
;
5653 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5662 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5667 return Py_BuildValue((char *)"");
5669 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5670 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5675 static PyObject
*_wrap_ListBoxNameStr_get() {
5680 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5682 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5689 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxWindow
*arg1
= (wxWindow
*) 0 ;
5692 int arg2
= (int) -1 ;
5693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5697 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5698 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5699 long arg6
= (long) 0 ;
5700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5702 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5707 bool temp5
= False
;
5708 bool temp8
= False
;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 PyObject
* obj2
= 0 ;
5712 PyObject
* obj3
= 0 ;
5713 PyObject
* obj4
= 0 ;
5714 PyObject
* obj5
= 0 ;
5715 PyObject
* obj6
= 0 ;
5716 PyObject
* obj7
= 0 ;
5718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 arg2
= (int)SWIG_As_int(obj1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5742 if (! PySequence_Check(obj4
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg5
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj4
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5752 PyObject
* str
= PyObject_Unicode(item
);
5754 PyObject
* str
= PyObject_Str(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5757 arg5
->Add(Py2wxString(str
));
5764 arg6
= (long)SWIG_As_long(obj5
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5772 PyErr_SetString(PyExc_TypeError
,"null reference");
5778 arg8
= wxString_in_helper(obj7
);
5779 if (arg8
== NULL
) SWIG_fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5793 if (temp5
) delete arg5
;
5802 if (temp5
) delete arg5
;
5812 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxListBox
*)new wxListBox();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5835 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxListBox
*arg1
= (wxListBox
*) 0 ;
5838 wxWindow
*arg2
= (wxWindow
*) 0 ;
5839 int arg3
= (int) -1 ;
5840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5844 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5845 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5846 long arg7
= (long) 0 ;
5847 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5848 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5849 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5850 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5854 bool temp6
= False
;
5855 bool temp9
= False
;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 PyObject
* obj2
= 0 ;
5859 PyObject
* obj3
= 0 ;
5860 PyObject
* obj4
= 0 ;
5861 PyObject
* obj5
= 0 ;
5862 PyObject
* obj6
= 0 ;
5863 PyObject
* obj7
= 0 ;
5864 PyObject
* obj8
= 0 ;
5866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg3
= (int)SWIG_As_int(obj2
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5892 if (! PySequence_Check(obj5
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg6
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj5
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg6
->Add(Py2wxString(str
));
5914 arg7
= (long)SWIG_As_long(obj6
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5922 PyErr_SetString(PyExc_TypeError
,"null reference");
5928 arg9
= wxString_in_helper(obj8
);
5929 if (arg9
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 if (temp6
) delete arg6
;
5953 if (temp6
) delete arg6
;
5963 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 wxString
*arg2
= 0 ;
5968 PyObject
*arg4
= (PyObject
*) NULL
;
5969 bool temp2
= False
;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5975 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 arg2
= wxString_in_helper(obj1
);
5983 if (arg2
== NULL
) SWIG_fail
;
5986 arg3
= (int)SWIG_As_int(obj2
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxListBox
*arg1
= (wxListBox
*) 0 ;
6016 wxArrayString
*arg2
= 0 ;
6018 bool temp2
= False
;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 PyObject
* obj2
= 0 ;
6023 (char *) "self",(char *) "items",(char *) "pos", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 if (! PySequence_Check(obj1
)) {
6031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6034 arg2
= new wxArrayString
;
6036 int i
, len
=PySequence_Length(obj1
);
6037 for (i
=0; i
<len
; i
++) {
6038 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6040 PyObject
* str
= PyObject_Unicode(item
);
6042 PyObject
* str
= PyObject_Str(item
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6045 arg2
->Add(Py2wxString(str
));
6050 arg3
= (int)SWIG_As_int(obj2
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 if (temp2
) delete arg2
;
6066 if (temp2
) delete arg2
;
6072 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxListBox
*arg1
= (wxListBox
*) 0 ;
6075 wxArrayString
*arg2
= 0 ;
6076 bool temp2
= False
;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6080 (char *) "self",(char *) "items", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if (! PySequence_Check(obj1
)) {
6088 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6091 arg2
= new wxArrayString
;
6093 int i
, len
=PySequence_Length(obj1
);
6094 for (i
=0; i
<len
; i
++) {
6095 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6097 PyObject
* str
= PyObject_Unicode(item
);
6099 PyObject
* str
= PyObject_Str(item
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6102 arg2
->Add(Py2wxString(str
));
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->Set((wxArrayString
const &)*arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 if (temp2
) delete arg2
;
6121 if (temp2
) delete arg2
;
6127 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxListBox
*arg1
= (wxListBox
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6135 (char *) "self",(char *) "n", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg2
= (int)SWIG_As_int(obj1
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6159 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxListBox
*arg1
= (wxListBox
*) 0 ;
6163 bool arg3
= (bool) True
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "n",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 arg2
= (int)SWIG_As_int(obj1
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 arg3
= (bool)SWIG_As_bool(obj2
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->SetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxListBox
*arg1
= (wxListBox
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6201 (char *) "self",(char *) "n", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 arg2
= (int)SWIG_As_int(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 (arg1
)->Select(arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxListBox
*arg1
= (wxListBox
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "n", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int)SWIG_As_int(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->Deselect(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxListBox
*arg1
= (wxListBox
*) 0 ;
6255 int arg2
= (int) -1 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "itemToLeaveSelected", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg2
= (int)SWIG_As_int(obj1
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->DeselectAll(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxListBox
*arg1
= (wxListBox
*) 0 ;
6286 wxString
*arg2
= 0 ;
6287 bool arg3
= (bool) True
;
6289 bool temp2
= False
;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6292 PyObject
* obj2
= 0 ;
6294 (char *) "self",(char *) "s",(char *) "select", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 arg2
= wxString_in_helper(obj1
);
6302 if (arg2
== NULL
) SWIG_fail
;
6306 arg3
= (bool)SWIG_As_bool(obj2
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6333 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxListBox
*arg1
= (wxListBox
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6359 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxListBox
*arg1
= (wxListBox
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "n", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg2
= (int)SWIG_As_int(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetFirstItem(arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxListBox
*arg1
= (wxListBox
*) 0 ;
6391 wxString
*arg2
= 0 ;
6392 bool temp2
= False
;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6396 (char *) "self",(char *) "s", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 arg2
= wxString_in_helper(obj1
);
6404 if (arg2
== NULL
) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxListBox
*arg1
= (wxListBox
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6436 (char *) "self",(char *) "n", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 arg2
= (int)SWIG_As_int(obj1
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->EnsureVisible(arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxListBox
*arg1
= (wxListBox
*) 0 ;
6461 wxString
*arg2
= 0 ;
6462 bool temp2
= False
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "s", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 arg2
= wxString_in_helper(obj1
);
6474 if (arg2
== NULL
) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxListBox
*arg1
= (wxListBox
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6527 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxListBox
*arg1
= (wxListBox
*) 0 ;
6531 wxColour
*arg3
= 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 PyObject
* obj2
= 0 ;
6537 (char *) "self",(char *) "item",(char *) "c", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 arg2
= (int)SWIG_As_int(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxListBox
*arg1
= (wxListBox
*) 0 ;
6567 wxColour
*arg3
= 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6573 (char *) "self",(char *) "item",(char *) "c", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 arg2
= (int)SWIG_As_int(obj1
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxListBox
*arg1
= (wxListBox
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 PyObject
* obj2
= 0 ;
6608 (char *) "self",(char *) "item",(char *) "f", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 arg2
= (int)SWIG_As_int(obj1
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6620 PyErr_SetString(PyExc_TypeError
,"null reference");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6640 wxVisualAttributes result
;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "variant", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6648 arg1
= (int)SWIG_As_int(obj0
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 if (!wxPyCheckForApp()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 wxVisualAttributes
* resultptr
;
6661 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6670 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6673 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6675 return Py_BuildValue((char *)"");
6677 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxWindow
*arg1
= (wxWindow
*) 0 ;
6680 int arg2
= (int) -1 ;
6681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6685 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6686 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6687 long arg6
= (long) 0 ;
6688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6690 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6692 wxCheckListBox
*result
;
6695 bool temp5
= False
;
6696 bool temp8
= False
;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6699 PyObject
* obj2
= 0 ;
6700 PyObject
* obj3
= 0 ;
6701 PyObject
* obj4
= 0 ;
6702 PyObject
* obj5
= 0 ;
6703 PyObject
* obj6
= 0 ;
6704 PyObject
* obj7
= 0 ;
6706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= (int)SWIG_As_int(obj1
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6730 if (! PySequence_Check(obj4
)) {
6731 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6734 arg5
= new wxArrayString
;
6736 int i
, len
=PySequence_Length(obj4
);
6737 for (i
=0; i
<len
; i
++) {
6738 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6740 PyObject
* str
= PyObject_Unicode(item
);
6742 PyObject
* str
= PyObject_Str(item
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6745 arg5
->Add(Py2wxString(str
));
6752 arg6
= (long)SWIG_As_long(obj5
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6760 PyErr_SetString(PyExc_TypeError
,"null reference");
6766 arg8
= wxString_in_helper(obj7
);
6767 if (arg8
== NULL
) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6781 if (temp5
) delete arg5
;
6790 if (temp5
) delete arg5
;
6800 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxCheckListBox
*result
;
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxCheckListBox
*)new wxCheckListBox();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6823 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6826 wxWindow
*arg2
= (wxWindow
*) 0 ;
6827 int arg3
= (int) -1 ;
6828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6832 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6833 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6834 long arg7
= (long) 0 ;
6835 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6836 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6837 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6838 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6842 bool temp6
= False
;
6843 bool temp9
= False
;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6848 PyObject
* obj4
= 0 ;
6849 PyObject
* obj5
= 0 ;
6850 PyObject
* obj6
= 0 ;
6851 PyObject
* obj7
= 0 ;
6852 PyObject
* obj8
= 0 ;
6854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg3
= (int)SWIG_As_int(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6880 if (! PySequence_Check(obj5
)) {
6881 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6884 arg6
= new wxArrayString
;
6886 int i
, len
=PySequence_Length(obj5
);
6887 for (i
=0; i
<len
; i
++) {
6888 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6890 PyObject
* str
= PyObject_Unicode(item
);
6892 PyObject
* str
= PyObject_Str(item
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6895 arg6
->Add(Py2wxString(str
));
6902 arg7
= (long)SWIG_As_long(obj6
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6910 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 arg9
= wxString_in_helper(obj8
);
6917 if (arg9
== NULL
) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 if (temp6
) delete arg6
;
6941 if (temp6
) delete arg6
;
6951 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "index", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 arg2
= (int)SWIG_As_int(obj1
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)(arg1
)->IsChecked(arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6987 int arg3
= (int) True
;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6992 (char *) "self",(char *) "index",(char *) "check", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 arg2
= (int)SWIG_As_int(obj1
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 arg3
= (int)SWIG_As_int(obj2
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->Check(arg2
,arg3
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 Py_INCREF(Py_None
); resultobj
= Py_None
;
7018 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (int)(arg1
)->GetItemHeight();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_From_int((int)result
);
7044 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "pt", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_From_int((int)result
);
7077 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7087 (char *) "self",(char *) "x",(char *) "y", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 arg2
= (int)SWIG_As_int(obj1
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7095 arg3
= (int)SWIG_As_int(obj2
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_From_int((int)result
);
7111 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7114 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7116 return Py_BuildValue((char *)"");
7118 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7119 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7124 static PyObject
*_wrap_TextCtrlNameStr_get() {
7129 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7131 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7138 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxColour
const &arg1_defvalue
= wxNullColour
;
7141 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7142 wxColour
const &arg2_defvalue
= wxNullColour
;
7143 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7144 wxFont
const &arg3_defvalue
= wxNullFont
;
7145 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7146 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7155 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7162 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7176 PyErr_SetString(PyExc_TypeError
,"null reference");
7181 arg4
= (int)SWIG_As_int(obj3
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7198 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7251 wxColour
*arg2
= 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7256 (char *) "self",(char *) "colText", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7283 wxColour
*arg2
= 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "colBack", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7312 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7316 long arg3
= (long) wxTEXT_ATTR_FONT
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7321 (char *) "self",(char *) "font",(char *) "flags", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7331 PyErr_SetString(PyExc_TypeError
,"null reference");
7335 arg3
= (long)SWIG_As_long(obj2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "alignment", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7365 arg2
= (int)SWIG_As_int(obj1
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7384 wxArrayInt
*arg2
= 0 ;
7385 bool temp2
= False
;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "tabs", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 if (! PySequence_Check(obj1
)) {
7397 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7400 arg2
= new wxArrayInt
;
7402 int i
, len
=PySequence_Length(obj1
);
7403 for (i
=0; i
<len
; i
++) {
7404 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7405 PyObject
* number
= PyNumber_Int(item
);
7406 arg2
->Add(PyInt_AS_LONG(number
));
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7420 if (temp2
) delete arg2
;
7425 if (temp2
) delete arg2
;
7431 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7435 int arg3
= (int) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg2
= (int)SWIG_As_int(obj1
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 arg3
= (int)SWIG_As_int(obj2
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->SetLeftIndent(arg2
,arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7473 (char *) "self",(char *) "indent", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7479 arg2
= (int)SWIG_As_int(obj1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetRightIndent(arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "flags", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (long)SWIG_As_long(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetFlags(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7692 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7720 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "flag", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 arg2
= (long)SWIG_As_long(obj1
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7768 result
= (wxColour
*) &_result_ref
;
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7781 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7797 result
= (wxColour
*) &_result_ref
;
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7810 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7826 result
= (wxFont
*) &_result_ref
;
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7833 wxFont
* resultptr
= new wxFont(*result
);
7834 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7842 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_From_int((int)result
);
7868 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "self", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7884 result
= (wxArrayInt
*) &_result_ref
;
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= PyList_New(0);
7893 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7894 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7895 PyList_Append(resultobj
, val
);
7905 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_From_long((long)result
);
7931 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_From_long((long)result
);
7957 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_From_long((long)result
);
7983 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_long((long)result
);
8009 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxTextAttr
*arg1
= 0 ;
8040 wxTextAttr
*arg2
= 0 ;
8041 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8047 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8055 PyErr_SetString(PyExc_TypeError
,"null reference");
8058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8062 PyErr_SetString(PyExc_TypeError
,"null reference");
8065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8075 wxTextAttr
* resultptr
;
8076 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8085 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8105 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8108 bool temp3
= False
;
8111 bool temp8
= False
;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8115 PyObject
* obj3
= 0 ;
8116 PyObject
* obj4
= 0 ;
8117 PyObject
* obj5
= 0 ;
8118 PyObject
* obj6
= 0 ;
8119 PyObject
* obj7
= 0 ;
8121 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 arg2
= (int)SWIG_As_int(obj1
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 arg3
= wxString_in_helper(obj2
);
8134 if (arg3
== NULL
) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 arg6
= (long)SWIG_As_long(obj5
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8159 PyErr_SetString(PyExc_TypeError
,"null reference");
8165 arg8
= wxString_in_helper(obj7
);
8166 if (arg8
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8201 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8210 if (!wxPyCheckForApp()) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (wxTextCtrl
*)new wxTextCtrl();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8224 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8227 wxWindow
*arg2
= (wxWindow
*) 0 ;
8228 int arg3
= (int) -1 ;
8229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8235 long arg7
= (long) 0 ;
8236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8238 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8241 bool temp4
= False
;
8244 bool temp9
= False
;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8247 PyObject
* obj2
= 0 ;
8248 PyObject
* obj3
= 0 ;
8249 PyObject
* obj4
= 0 ;
8250 PyObject
* obj5
= 0 ;
8251 PyObject
* obj6
= 0 ;
8252 PyObject
* obj7
= 0 ;
8253 PyObject
* obj8
= 0 ;
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 arg3
= (int)SWIG_As_int(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8269 arg4
= wxString_in_helper(obj3
);
8270 if (arg4
== NULL
) SWIG_fail
;
8277 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8283 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8287 arg7
= (long)SWIG_As_long(obj6
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8295 PyErr_SetString(PyExc_TypeError
,"null reference");
8301 arg9
= wxString_in_helper(obj8
);
8302 if (arg9
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8338 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8370 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 wxString
*arg2
= 0 ;
8374 bool temp2
= False
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "self",(char *) "value", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= wxString_in_helper(obj1
);
8386 if (arg2
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->SetValue((wxString
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8421 (char *) "self",(char *) "from",(char *) "to", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (long)SWIG_As_long(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8429 arg3
= (long)SWIG_As_long(obj2
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8451 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8459 (char *) "self",(char *) "lineNo", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= (long)SWIG_As_long(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_From_int((int)result
);
8481 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "lineNo", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 arg2
= (long)SWIG_As_long(obj1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8523 (char *) "self", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_From_int((int)result
);
8543 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8655 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8658 long *arg2
= (long *) 0 ;
8659 long *arg3
= (long *) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8683 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8685 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8692 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8724 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "self", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 wxString
*arg4
= 0 ;
8755 bool temp4
= False
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 PyObject
* obj3
= 0 ;
8761 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 arg2
= (long)SWIG_As_long(obj1
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8769 arg3
= (long)SWIG_As_long(obj2
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 arg4
= wxString_in_helper(obj3
);
8773 if (arg4
== NULL
) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "self",(char *) "from",(char *) "to", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 arg2
= (long)SWIG_As_long(obj1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8815 arg3
= (long)SWIG_As_long(obj2
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->Remove(arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8834 wxString
*arg2
= 0 ;
8836 bool temp2
= False
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "file", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= wxString_in_helper(obj1
);
8848 if (arg2
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8878 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8879 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8881 bool temp2
= False
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "file", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 arg2
= wxString_in_helper(obj1
);
8894 if (arg2
== NULL
) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8927 (char *) "self", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->MarkDirty();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->DiscardEdits();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 unsigned long arg2
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "len", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetMaxLength(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9004 wxString
*arg2
= 0 ;
9005 bool temp2
= False
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "text", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->WriteText((wxString
const &)*arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9045 wxString
*arg2
= 0 ;
9046 bool temp2
= False
;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9050 (char *) "self",(char *) "text", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 arg2
= wxString_in_helper(obj1
);
9058 if (arg2
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->AppendText((wxString
const &)*arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9086 wxKeyEvent
*arg2
= 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "event", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9101 PyErr_SetString(PyExc_TypeError
,"null reference");
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9120 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9125 wxTextAttr
*arg4
= 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 PyObject
* obj3
= 0 ;
9132 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 arg2
= (long)SWIG_As_long(obj1
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9140 arg3
= (long)SWIG_As_long(obj2
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9146 PyErr_SetString(PyExc_TypeError
,"null reference");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9169 wxTextAttr
*arg3
= 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9175 (char *) "self",(char *) "position",(char *) "style", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 arg2
= (long)SWIG_As_long(obj1
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9187 PyErr_SetString(PyExc_TypeError
,"null reference");
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9209 wxTextAttr
*arg2
= 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "style", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9224 PyErr_SetString(PyExc_TypeError
,"null reference");
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9259 result
= (wxTextAttr
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9272 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9279 PyObject
* obj1
= 0 ;
9280 PyObject
* obj2
= 0 ;
9282 (char *) "self",(char *) "x",(char *) "y", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 arg2
= (long)SWIG_As_long(obj1
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9290 arg3
= (long)SWIG_As_long(obj2
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_From_long((long)result
);
9306 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9310 long *arg3
= (long *) 0 ;
9311 long *arg4
= (long *) 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 (char *) "self",(char *) "pos", NULL
9322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9323 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 arg2
= (long)SWIG_As_long(obj1
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9338 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9339 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9340 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9347 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "pos", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 arg2
= (long)SWIG_As_long(obj1
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->ShowPosition(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 Py_INCREF(Py_None
); resultobj
= Py_None
;
9376 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9380 long *arg3
= (long *) 0 ;
9381 long *arg4
= (long *) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "pt", NULL
9394 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9395 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_int((int)result
);
9411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9412 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9413 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9414 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9421 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9425 long *arg3
= (long *) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "self",(char *) "pt", NULL
9436 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_int((int)result
);
9452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9453 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9460 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9732 (char *) "self",(char *) "pos", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (long)SWIG_As_long(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 (arg1
)->SetInsertionPoint(arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 Py_INCREF(Py_None
); resultobj
= Py_None
;
9754 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->SetInsertionPointEnd();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_long((long)result
);
9805 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9811 (char *) "self", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_long((long)result
);
9831 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9840 (char *) "self",(char *) "from",(char *) "to", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 arg2
= (long)SWIG_As_long(obj1
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9848 arg3
= (long)SWIG_As_long(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetSelection(arg2
,arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SelectAll();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "editable", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 arg2
= (bool)SWIG_As_bool(obj1
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetEditable(arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 wxString
*arg2
= 0 ;
9922 bool temp2
= False
;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self",(char *) "text", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 arg2
= wxString_in_helper(obj1
);
9934 if (arg2
== NULL
) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9959 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9969 (char *) "self",(char *) "from",(char *) "to", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 arg2
= (long)SWIG_As_long(obj1
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9977 arg3
= (long)SWIG_As_long(obj2
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9999 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10002 wxVisualAttributes result
;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "variant", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10010 arg1
= (int)SWIG_As_int(obj0
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 if (!wxPyCheckForApp()) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 wxVisualAttributes
* resultptr
;
10023 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10032 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10035 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10037 return Py_BuildValue((char *)"");
10039 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10042 wxMouseEvent
*arg2
= 0 ;
10045 wxTextUrlEvent
*result
;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 PyObject
* obj2
= 0 ;
10049 PyObject
* obj3
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10055 arg1
= (int)SWIG_As_int(obj0
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10060 if (arg2
== NULL
) {
10061 PyErr_SetString(PyExc_TypeError
,"null reference");
10064 arg3
= (long)SWIG_As_long(obj2
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10066 arg4
= (long)SWIG_As_long(obj3
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10082 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10085 wxMouseEvent
*result
;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10098 result
= (wxMouseEvent
*) &_result_ref
;
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10111 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_From_long((long)result
);
10137 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_From_long((long)result
);
10163 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10166 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10168 return Py_BuildValue((char *)"");
10170 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10171 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10176 static PyObject
*_wrap_ScrollBarNameStr_get() {
10181 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10183 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10190 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxWindow
*arg1
= (wxWindow
*) 0 ;
10193 int arg2
= (int) -1 ;
10194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10198 long arg5
= (long) wxSB_HORIZONTAL
;
10199 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10200 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10201 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10203 wxScrollBar
*result
;
10206 bool temp7
= False
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 PyObject
* obj3
= 0 ;
10211 PyObject
* obj4
= 0 ;
10212 PyObject
* obj5
= 0 ;
10213 PyObject
* obj6
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 arg2
= (int)SWIG_As_int(obj1
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10234 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10238 arg5
= (long)SWIG_As_long(obj4
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10245 if (arg6
== NULL
) {
10246 PyErr_SetString(PyExc_TypeError
,"null reference");
10252 arg7
= wxString_in_helper(obj6
);
10253 if (arg7
== NULL
) SWIG_fail
;
10258 if (!wxPyCheckForApp()) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10280 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxScrollBar
*result
;
10283 char *kwnames
[] = {
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10289 if (!wxPyCheckForApp()) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (wxScrollBar
*)new wxScrollBar();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10303 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10306 wxWindow
*arg2
= (wxWindow
*) 0 ;
10307 int arg3
= (int) -1 ;
10308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10312 long arg6
= (long) wxSB_HORIZONTAL
;
10313 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10314 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10315 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10320 bool temp8
= False
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 PyObject
* obj2
= 0 ;
10324 PyObject
* obj3
= 0 ;
10325 PyObject
* obj4
= 0 ;
10326 PyObject
* obj5
= 0 ;
10327 PyObject
* obj6
= 0 ;
10328 PyObject
* obj7
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 arg3
= (int)SWIG_As_int(obj2
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10355 arg6
= (long)SWIG_As_long(obj5
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10362 if (arg7
== NULL
) {
10363 PyErr_SetString(PyExc_TypeError
,"null reference");
10369 arg8
= wxString_in_helper(obj7
);
10370 if (arg8
== NULL
) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10398 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int((int)result
);
10424 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int((int)result
);
10450 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_From_int((int)result
);
10476 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_From_int((int)result
);
10502 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10530 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "viewStart", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 arg2
= (int)SWIG_As_int(obj1
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetThumbPosition(arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10566 bool arg6
= (bool) True
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 PyObject
* obj2
= 0 ;
10570 PyObject
* obj3
= 0 ;
10571 PyObject
* obj4
= 0 ;
10572 PyObject
* obj5
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg2
= (int)SWIG_As_int(obj1
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10582 arg3
= (int)SWIG_As_int(obj2
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10584 arg4
= (int)SWIG_As_int(obj3
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10586 arg5
= (int)SWIG_As_int(obj4
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 arg6
= (bool)SWIG_As_bool(obj5
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10609 wxVisualAttributes result
;
10610 PyObject
* obj0
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "variant", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10617 arg1
= (int)SWIG_As_int(obj0
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 wxVisualAttributes
* resultptr
;
10630 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10639 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10642 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10644 return Py_BuildValue((char *)"");
10646 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10647 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10652 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10657 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10659 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10666 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10667 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10672 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10677 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10679 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10686 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxWindow
*arg1
= (wxWindow
*) 0 ;
10689 int arg2
= (int) -1 ;
10690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10694 long arg5
= (long) wxSP_HORIZONTAL
;
10695 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10697 wxSpinButton
*result
;
10700 bool temp6
= False
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 PyObject
* obj3
= 0 ;
10705 PyObject
* obj4
= 0 ;
10706 PyObject
* obj5
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 arg2
= (int)SWIG_As_int(obj1
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10721 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10727 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10731 arg5
= (long)SWIG_As_long(obj4
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10736 arg6
= wxString_in_helper(obj5
);
10737 if (arg6
== NULL
) SWIG_fail
;
10742 if (!wxPyCheckForApp()) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10764 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*result
;
10767 char *kwnames
[] = {
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10773 if (!wxPyCheckForApp()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (wxSpinButton
*)new wxSpinButton();
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10787 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10790 wxWindow
*arg2
= (wxWindow
*) 0 ;
10791 int arg3
= (int) -1 ;
10792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10796 long arg6
= (long) wxSP_HORIZONTAL
;
10797 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10802 bool temp7
= False
;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 PyObject
* obj3
= 0 ;
10807 PyObject
* obj4
= 0 ;
10808 PyObject
* obj5
= 0 ;
10809 PyObject
* obj6
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg3
= (int)SWIG_As_int(obj2
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10836 arg6
= (long)SWIG_As_long(obj5
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10841 arg7
= wxString_in_helper(obj6
);
10842 if (arg7
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_From_int((int)result
);
10896 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_From_int((int)result
);
10922 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_From_int((int)result
);
10948 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self",(char *) "val", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 arg2
= (int)SWIG_As_int(obj1
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetValue(arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "minVal", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 arg2
= (int)SWIG_As_int(obj1
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 (arg1
)->SetMin(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "maxVal", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 arg2
= (int)SWIG_As_int(obj1
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->SetMax(arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (int)SWIG_As_int(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11052 arg3
= (int)SWIG_As_int(obj2
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetRange(arg2
,arg3
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11099 wxVisualAttributes result
;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "variant", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11107 arg1
= (int)SWIG_As_int(obj0
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 if (!wxPyCheckForApp()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 wxVisualAttributes
* resultptr
;
11120 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11129 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11132 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11134 return Py_BuildValue((char *)"");
11136 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxWindow
*arg1
= (wxWindow
*) 0 ;
11139 int arg2
= (int) -1 ;
11140 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11141 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11142 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11143 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11144 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11145 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11146 long arg6
= (long) wxSP_ARROW_KEYS
;
11147 int arg7
= (int) 0 ;
11148 int arg8
= (int) 100 ;
11149 int arg9
= (int) 0 ;
11150 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11151 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11152 wxSpinCtrl
*result
;
11153 bool temp3
= False
;
11156 bool temp10
= False
;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 PyObject
* obj2
= 0 ;
11160 PyObject
* obj3
= 0 ;
11161 PyObject
* obj4
= 0 ;
11162 PyObject
* obj5
= 0 ;
11163 PyObject
* obj6
= 0 ;
11164 PyObject
* obj7
= 0 ;
11165 PyObject
* obj8
= 0 ;
11166 PyObject
* obj9
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= (int)SWIG_As_int(obj1
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11180 arg3
= wxString_in_helper(obj2
);
11181 if (arg3
== NULL
) SWIG_fail
;
11188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11198 arg6
= (long)SWIG_As_long(obj5
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 arg7
= (int)SWIG_As_int(obj6
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 arg8
= (int)SWIG_As_int(obj7
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 arg9
= (int)SWIG_As_int(obj8
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11215 arg10
= wxString_in_helper(obj9
);
11216 if (arg10
== NULL
) SWIG_fail
;
11221 if (!wxPyCheckForApp()) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11251 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxSpinCtrl
*result
;
11254 char *kwnames
[] = {
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11260 if (!wxPyCheckForApp()) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11274 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11277 wxWindow
*arg2
= (wxWindow
*) 0 ;
11278 int arg3
= (int) -1 ;
11279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11285 long arg7
= (long) wxSP_ARROW_KEYS
;
11286 int arg8
= (int) 0 ;
11287 int arg9
= (int) 100 ;
11288 int arg10
= (int) 0 ;
11289 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11290 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11292 bool temp4
= False
;
11295 bool temp11
= False
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 PyObject
* obj5
= 0 ;
11302 PyObject
* obj6
= 0 ;
11303 PyObject
* obj7
= 0 ;
11304 PyObject
* obj8
= 0 ;
11305 PyObject
* obj9
= 0 ;
11306 PyObject
* obj10
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 arg3
= (int)SWIG_As_int(obj2
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11322 arg4
= wxString_in_helper(obj3
);
11323 if (arg4
== NULL
) SWIG_fail
;
11330 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11336 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11340 arg7
= (long)SWIG_As_long(obj6
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 arg8
= (int)SWIG_As_int(obj7
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 arg9
= (int)SWIG_As_int(obj8
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 arg10
= (int)SWIG_As_int(obj9
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11357 arg11
= wxString_in_helper(obj10
);
11358 if (arg11
== NULL
) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_int((int)result
);
11420 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "value", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 arg2
= (int)SWIG_As_int(obj1
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SetValue(arg2
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11452 wxString
*arg2
= 0 ;
11453 bool temp2
= False
;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "text", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 arg2
= wxString_in_helper(obj1
);
11465 if (arg2
== NULL
) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->SetValue((wxString
const &)*arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 arg2
= (int)SWIG_As_int(obj1
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11507 arg3
= (int)SWIG_As_int(obj2
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->SetRange(arg2
,arg3
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_int((int)result
);
11549 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_int((int)result
);
11575 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "from",(char *) "to", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 arg2
= (long)SWIG_As_long(obj1
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11592 arg3
= (long)SWIG_As_long(obj2
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetSelection(arg2
,arg3
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11608 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11611 wxVisualAttributes result
;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "variant", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11619 arg1
= (int)SWIG_As_int(obj0
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 if (!wxPyCheckForApp()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 wxVisualAttributes
* resultptr
;
11632 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11641 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11646 return Py_BuildValue((char *)"");
11648 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11651 int arg2
= (int) 0 ;
11652 wxSpinEvent
*result
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "commandType",(char *) "winid", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11661 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 arg2
= (int)SWIG_As_int(obj1
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11682 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11686 PyObject
* obj0
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_From_int((int)result
);
11708 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "pos", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= (int)SWIG_As_int(obj1
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->SetPosition(arg2
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11737 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11740 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11742 return Py_BuildValue((char *)"");
11744 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11745 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11750 static PyObject
*_wrap_RadioBoxNameStr_get() {
11755 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11757 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11764 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11765 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11770 static PyObject
*_wrap_RadioButtonNameStr_get() {
11775 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11777 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11784 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxWindow
*arg1
= (wxWindow
*) 0 ;
11787 int arg2
= (int) -1 ;
11788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11794 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11795 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11796 int arg7
= (int) 0 ;
11797 long arg8
= (long) wxRA_HORIZONTAL
;
11798 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11799 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11800 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11801 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11802 wxRadioBox
*result
;
11803 bool temp3
= False
;
11806 bool temp6
= False
;
11807 bool temp10
= False
;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 PyObject
* obj2
= 0 ;
11811 PyObject
* obj3
= 0 ;
11812 PyObject
* obj4
= 0 ;
11813 PyObject
* obj5
= 0 ;
11814 PyObject
* obj6
= 0 ;
11815 PyObject
* obj7
= 0 ;
11816 PyObject
* obj8
= 0 ;
11817 PyObject
* obj9
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= (int)SWIG_As_int(obj1
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11831 arg3
= wxString_in_helper(obj2
);
11832 if (arg3
== NULL
) SWIG_fail
;
11839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11850 if (! PySequence_Check(obj5
)) {
11851 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11854 arg6
= new wxArrayString
;
11856 int i
, len
=PySequence_Length(obj5
);
11857 for (i
=0; i
<len
; i
++) {
11858 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11860 PyObject
* str
= PyObject_Unicode(item
);
11862 PyObject
* str
= PyObject_Str(item
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11865 arg6
->Add(Py2wxString(str
));
11872 arg7
= (int)SWIG_As_int(obj6
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 arg8
= (long)SWIG_As_long(obj7
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11883 if (arg9
== NULL
) {
11884 PyErr_SetString(PyExc_TypeError
,"null reference");
11890 arg10
= wxString_in_helper(obj9
);
11891 if (arg10
== NULL
) SWIG_fail
;
11896 if (!wxPyCheckForApp()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11909 if (temp6
) delete arg6
;
11922 if (temp6
) delete arg6
;
11932 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxRadioBox
*result
;
11935 char *kwnames
[] = {
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11941 if (!wxPyCheckForApp()) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxRadioBox
*)new wxRadioBox();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11955 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11958 wxWindow
*arg2
= (wxWindow
*) 0 ;
11959 int arg3
= (int) -1 ;
11960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11966 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11967 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11968 int arg8
= (int) 0 ;
11969 long arg9
= (long) wxRA_HORIZONTAL
;
11970 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11971 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11972 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11973 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11975 bool temp4
= False
;
11978 bool temp7
= False
;
11979 bool temp11
= False
;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 PyObject
* obj3
= 0 ;
11984 PyObject
* obj4
= 0 ;
11985 PyObject
* obj5
= 0 ;
11986 PyObject
* obj6
= 0 ;
11987 PyObject
* obj7
= 0 ;
11988 PyObject
* obj8
= 0 ;
11989 PyObject
* obj9
= 0 ;
11990 PyObject
* obj10
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 arg3
= (int)SWIG_As_int(obj2
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12006 arg4
= wxString_in_helper(obj3
);
12007 if (arg4
== NULL
) SWIG_fail
;
12014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12025 if (! PySequence_Check(obj6
)) {
12026 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12029 arg7
= new wxArrayString
;
12031 int i
, len
=PySequence_Length(obj6
);
12032 for (i
=0; i
<len
; i
++) {
12033 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12035 PyObject
* str
= PyObject_Unicode(item
);
12037 PyObject
* str
= PyObject_Str(item
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12040 arg7
->Add(Py2wxString(str
));
12047 arg8
= (int)SWIG_As_int(obj7
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 arg9
= (long)SWIG_As_long(obj8
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12058 if (arg10
== NULL
) {
12059 PyErr_SetString(PyExc_TypeError
,"null reference");
12065 arg11
= wxString_in_helper(obj10
);
12066 if (arg11
== NULL
) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12085 if (temp7
) delete arg7
;
12098 if (temp7
) delete arg7
;
12108 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "n", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 arg2
= (int)SWIG_As_int(obj1
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetSelection(arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_From_int((int)result
);
12163 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12195 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12198 wxString
*arg2
= 0 ;
12200 bool temp2
= False
;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self",(char *) "s", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 arg2
= wxString_in_helper(obj1
);
12212 if (arg2
== NULL
) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int((int)result
);
12265 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12268 wxString
*arg2
= 0 ;
12270 bool temp2
= False
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "s", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= wxString_in_helper(obj1
);
12282 if (arg2
== NULL
) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_From_int((int)result
);
12307 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 PyObject
* obj1
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "n", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 arg2
= (int)SWIG_As_int(obj1
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12343 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12347 wxString
*arg3
= 0 ;
12348 bool temp3
= False
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "n",(char *) "label", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 arg2
= (int)SWIG_As_int(obj1
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 arg3
= wxString_in_helper(obj2
);
12363 if (arg3
== NULL
) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12392 bool arg3
= (bool) True
;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 PyObject
* obj2
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "n",(char *) "enable", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg2
= (int)SWIG_As_int(obj1
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 arg3
= (bool)SWIG_As_bool(obj2
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->Enable(arg2
,arg3
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12427 bool arg3
= (bool) True
;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 PyObject
* obj2
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self",(char *) "n",(char *) "show", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= (int)SWIG_As_int(obj1
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 arg3
= (bool)SWIG_As_bool(obj2
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->Show(arg2
,arg3
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_From_int((int)result
);
12484 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_From_int((int)result
);
12510 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 PyObject
* obj3
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 arg2
= (int)SWIG_As_int(obj1
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12530 arg3
= (int)SWIG_As_int(obj2
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12532 arg4
= (long)SWIG_As_long(obj3
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_From_int((int)result
);
12548 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12551 wxVisualAttributes result
;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "variant", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12559 arg1
= (int)SWIG_As_int(obj0
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 if (!wxPyCheckForApp()) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 wxVisualAttributes
* resultptr
;
12572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12581 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12584 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12586 return Py_BuildValue((char *)"");
12588 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxWindow
*arg1
= (wxWindow
*) 0 ;
12591 int arg2
= (int) -1 ;
12592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12598 long arg6
= (long) 0 ;
12599 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12600 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12601 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12602 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12603 wxRadioButton
*result
;
12604 bool temp3
= False
;
12607 bool temp8
= False
;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 PyObject
* obj3
= 0 ;
12612 PyObject
* obj4
= 0 ;
12613 PyObject
* obj5
= 0 ;
12614 PyObject
* obj6
= 0 ;
12615 PyObject
* obj7
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 arg2
= (int)SWIG_As_int(obj1
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12629 arg3
= wxString_in_helper(obj2
);
12630 if (arg3
== NULL
) SWIG_fail
;
12637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12647 arg6
= (long)SWIG_As_long(obj5
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12654 if (arg7
== NULL
) {
12655 PyErr_SetString(PyExc_TypeError
,"null reference");
12661 arg8
= wxString_in_helper(obj7
);
12662 if (arg8
== NULL
) SWIG_fail
;
12667 if (!wxPyCheckForApp()) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12697 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxRadioButton
*result
;
12700 char *kwnames
[] = {
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12706 if (!wxPyCheckForApp()) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (wxRadioButton
*)new wxRadioButton();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12720 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12723 wxWindow
*arg2
= (wxWindow
*) 0 ;
12724 int arg3
= (int) -1 ;
12725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12731 long arg7
= (long) 0 ;
12732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12734 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12737 bool temp4
= False
;
12740 bool temp9
= False
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 PyObject
* obj2
= 0 ;
12744 PyObject
* obj3
= 0 ;
12745 PyObject
* obj4
= 0 ;
12746 PyObject
* obj5
= 0 ;
12747 PyObject
* obj6
= 0 ;
12748 PyObject
* obj7
= 0 ;
12749 PyObject
* obj8
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 arg3
= (int)SWIG_As_int(obj2
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12765 arg4
= wxString_in_helper(obj3
);
12766 if (arg4
== NULL
) SWIG_fail
;
12773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12779 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12783 arg7
= (long)SWIG_As_long(obj6
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12790 if (arg8
== NULL
) {
12791 PyErr_SetString(PyExc_TypeError
,"null reference");
12797 arg9
= wxString_in_helper(obj8
);
12798 if (arg9
== NULL
) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12834 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->GetValue();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12862 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self",(char *) "value", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 arg2
= (bool)SWIG_As_bool(obj1
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetValue(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12894 wxVisualAttributes result
;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "variant", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12902 arg1
= (int)SWIG_As_int(obj0
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 if (!wxPyCheckForApp()) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 wxVisualAttributes
* resultptr
;
12915 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12924 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12927 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12929 return Py_BuildValue((char *)"");
12931 static int _wrap_SliderNameStr_set(PyObject
*) {
12932 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12937 static PyObject
*_wrap_SliderNameStr_get() {
12942 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12944 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12951 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxWindow
*arg1
= (wxWindow
*) 0 ;
12954 int arg2
= (int) -1 ;
12955 int arg3
= (int) 0 ;
12956 int arg4
= (int) 0 ;
12957 int arg5
= (int) 100 ;
12958 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12959 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12960 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12961 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12962 long arg8
= (long) wxSL_HORIZONTAL
;
12963 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12964 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12965 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12966 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12970 bool temp10
= False
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 PyObject
* obj2
= 0 ;
12974 PyObject
* obj3
= 0 ;
12975 PyObject
* obj4
= 0 ;
12976 PyObject
* obj5
= 0 ;
12977 PyObject
* obj6
= 0 ;
12978 PyObject
* obj7
= 0 ;
12979 PyObject
* obj8
= 0 ;
12980 PyObject
* obj9
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12989 arg2
= (int)SWIG_As_int(obj1
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 arg3
= (int)SWIG_As_int(obj2
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 arg4
= (int)SWIG_As_int(obj3
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 arg5
= (int)SWIG_As_int(obj4
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13007 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13013 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13017 arg8
= (long)SWIG_As_long(obj7
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13021 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13024 if (arg9
== NULL
) {
13025 PyErr_SetString(PyExc_TypeError
,"null reference");
13031 arg10
= wxString_in_helper(obj9
);
13032 if (arg10
== NULL
) SWIG_fail
;
13037 if (!wxPyCheckForApp()) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13059 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13062 char *kwnames
[] = {
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13068 if (!wxPyCheckForApp()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (wxSlider
*)new wxSlider();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13082 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSlider
*arg1
= (wxSlider
*) 0 ;
13085 wxWindow
*arg2
= (wxWindow
*) 0 ;
13086 int arg3
= (int) -1 ;
13087 int arg4
= (int) 0 ;
13088 int arg5
= (int) 0 ;
13089 int arg6
= (int) 100 ;
13090 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13091 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13092 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13093 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13094 long arg9
= (long) wxSL_HORIZONTAL
;
13095 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13096 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13097 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13098 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13102 bool temp11
= False
;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 PyObject
* obj2
= 0 ;
13106 PyObject
* obj3
= 0 ;
13107 PyObject
* obj4
= 0 ;
13108 PyObject
* obj5
= 0 ;
13109 PyObject
* obj6
= 0 ;
13110 PyObject
* obj7
= 0 ;
13111 PyObject
* obj8
= 0 ;
13112 PyObject
* obj9
= 0 ;
13113 PyObject
* obj10
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg3
= (int)SWIG_As_int(obj2
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg4
= (int)SWIG_As_int(obj3
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 arg5
= (int)SWIG_As_int(obj4
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13136 arg6
= (int)SWIG_As_int(obj5
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13142 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13148 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13152 arg9
= (long)SWIG_As_long(obj8
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13159 if (arg10
== NULL
) {
13160 PyErr_SetString(PyExc_TypeError
,"null reference");
13166 arg11
= wxString_in_helper(obj10
);
13167 if (arg11
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13195 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxSlider
*arg1
= (wxSlider
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_From_int((int)result
);
13221 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxSlider
*arg1
= (wxSlider
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "value", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 arg2
= (int)SWIG_As_int(obj1
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->SetValue(arg2
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxSlider
*arg1
= (wxSlider
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 arg2
= (int)SWIG_As_int(obj1
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13267 arg3
= (int)SWIG_As_int(obj2
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetRange(arg2
,arg3
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSlider
*arg1
= (wxSlider
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_From_int((int)result
);
13309 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_From_int((int)result
);
13335 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSlider
*arg1
= (wxSlider
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "minValue", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 arg2
= (int)SWIG_As_int(obj1
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->SetMin(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxSlider
*arg1
= (wxSlider
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "maxValue", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 arg2
= (int)SWIG_As_int(obj1
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 (arg1
)->SetMax(arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13393 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxSlider
*arg1
= (wxSlider
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self",(char *) "lineSize", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 arg2
= (int)SWIG_As_int(obj1
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetLineSize(arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSlider
*arg1
= (wxSlider
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "pageSize", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 arg2
= (int)SWIG_As_int(obj1
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetPageSize(arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxSlider
*arg1
= (wxSlider
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_From_int((int)result
);
13477 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxSlider
*arg1
= (wxSlider
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_int((int)result
);
13503 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxSlider
*arg1
= (wxSlider
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "lenPixels", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 arg2
= (int)SWIG_As_int(obj1
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->SetThumbLength(arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxSlider
*arg1
= (wxSlider
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_From_int((int)result
);
13558 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxSlider
*arg1
= (wxSlider
*) 0 ;
13562 int arg3
= (int) 1 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 PyObject
* obj2
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "n",(char *) "pos", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 arg2
= (int)SWIG_As_int(obj1
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 arg3
= (int)SWIG_As_int(obj2
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SetTickFreq(arg2
,arg3
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSlider
*arg1
= (wxSlider
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_int((int)result
);
13619 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxSlider
*arg1
= (wxSlider
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->ClearTicks();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxSlider
*arg1
= (wxSlider
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "tickPos", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 arg2
= (int)SWIG_As_int(obj1
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetTick(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxSlider
*arg1
= (wxSlider
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->ClearSel();
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 Py_INCREF(Py_None
); resultobj
= Py_None
;
13698 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxSlider
*arg1
= (wxSlider
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_From_int((int)result
);
13724 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxSlider
*arg1
= (wxSlider
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_From_int((int)result
);
13750 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxSlider
*arg1
= (wxSlider
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "min",(char *) "max", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int)SWIG_As_int(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13767 arg3
= (int)SWIG_As_int(obj2
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 (arg1
)->SetSelection(arg2
,arg3
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13783 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13786 wxVisualAttributes result
;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "variant", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13794 arg1
= (int)SWIG_As_int(obj0
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 if (!wxPyCheckForApp()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 wxVisualAttributes
* resultptr
;
13807 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13816 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13819 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13821 return Py_BuildValue((char *)"");
13823 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13824 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13829 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13834 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13836 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13843 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxWindow
*arg1
= (wxWindow
*) 0 ;
13846 int arg2
= (int) -1 ;
13847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13853 long arg6
= (long) 0 ;
13854 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13855 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13856 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13857 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13858 wxToggleButton
*result
;
13859 bool temp3
= False
;
13862 bool temp8
= False
;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 PyObject
* obj4
= 0 ;
13868 PyObject
* obj5
= 0 ;
13869 PyObject
* obj6
= 0 ;
13870 PyObject
* obj7
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg2
= (int)SWIG_As_int(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13884 arg3
= wxString_in_helper(obj2
);
13885 if (arg3
== NULL
) SWIG_fail
;
13892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13902 arg6
= (long)SWIG_As_long(obj5
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13909 if (arg7
== NULL
) {
13910 PyErr_SetString(PyExc_TypeError
,"null reference");
13916 arg8
= wxString_in_helper(obj7
);
13917 if (arg8
== NULL
) SWIG_fail
;
13922 if (!wxPyCheckForApp()) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13952 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxToggleButton
*result
;
13955 char *kwnames
[] = {
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13961 if (!wxPyCheckForApp()) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxToggleButton
*)new wxToggleButton();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13975 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13978 wxWindow
*arg2
= (wxWindow
*) 0 ;
13979 int arg3
= (int) -1 ;
13980 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13984 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13985 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13986 long arg7
= (long) 0 ;
13987 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13988 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13989 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13990 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13992 bool temp4
= False
;
13995 bool temp9
= False
;
13996 PyObject
* obj0
= 0 ;
13997 PyObject
* obj1
= 0 ;
13998 PyObject
* obj2
= 0 ;
13999 PyObject
* obj3
= 0 ;
14000 PyObject
* obj4
= 0 ;
14001 PyObject
* obj5
= 0 ;
14002 PyObject
* obj6
= 0 ;
14003 PyObject
* obj7
= 0 ;
14004 PyObject
* obj8
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg3
= (int)SWIG_As_int(obj2
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14020 arg4
= wxString_in_helper(obj3
);
14021 if (arg4
== NULL
) SWIG_fail
;
14028 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14034 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14038 arg7
= (long)SWIG_As_long(obj6
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14045 if (arg8
== NULL
) {
14046 PyErr_SetString(PyExc_TypeError
,"null reference");
14052 arg9
= wxString_in_helper(obj8
);
14053 if (arg9
== NULL
) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14089 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "value", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 arg2
= (bool)SWIG_As_bool(obj1
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 (arg1
)->SetValue(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 Py_INCREF(Py_None
); resultobj
= Py_None
;
14118 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14146 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14149 wxString
*arg2
= 0 ;
14150 bool temp2
= False
;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "label", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= wxString_in_helper(obj1
);
14162 if (arg2
== NULL
) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetLabel((wxString
const &)*arg2
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14190 wxVisualAttributes result
;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "variant", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14198 arg1
= (int)SWIG_As_int(obj0
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 if (!wxPyCheckForApp()) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 wxVisualAttributes
* resultptr
;
14211 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14220 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14223 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14225 return Py_BuildValue((char *)"");
14227 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14228 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14233 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14238 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14240 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14247 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14273 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "n", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= wxPyMake_wxObject(result
, 0);
14305 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_From_int((int)result
);
14331 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14335 wxString
*arg3
= 0 ;
14337 bool temp3
= False
;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "n",(char *) "strText", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 arg3
= wxString_in_helper(obj2
);
14352 if (arg3
== NULL
) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14379 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "n", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14415 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14418 wxImageList
*arg2
= (wxImageList
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "imageList", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->SetImageList(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14447 wxImageList
*arg2
= (wxImageList
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "imageList", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14458 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 (arg1
)->AssignImageList(arg2
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14476 wxImageList
*result
;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= wxPyMake_wxObject(result
, 0);
14501 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "n", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_From_int((int)result
);
14531 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "n",(char *) "imageId", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14549 arg3
= (int)SWIG_As_int(obj2
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14567 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "size", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self",(char *) "sizePage", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 wxSize
* resultptr
;
14627 resultptr
= new wxSize((wxSize
&) result
);
14628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14636 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self",(char *) "n", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14650 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->DeletePage(arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self",(char *) "n", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)(arg1
)->RemovePage(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (bool)(arg1
)->DeleteAllPages();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14728 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14731 wxWindow
*arg2
= (wxWindow
*) 0 ;
14732 wxString
*arg3
= 0 ;
14733 bool arg4
= (bool) False
;
14734 int arg5
= (int) -1 ;
14736 bool temp3
= False
;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 PyObject
* obj3
= 0 ;
14741 PyObject
* obj4
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 arg3
= wxString_in_helper(obj2
);
14753 if (arg3
== NULL
) SWIG_fail
;
14757 arg4
= (bool)SWIG_As_bool(obj3
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 arg5
= (int)SWIG_As_int(obj4
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14792 wxWindow
*arg3
= (wxWindow
*) 0 ;
14793 wxString
*arg4
= 0 ;
14794 bool arg5
= (bool) False
;
14795 int arg6
= (int) -1 ;
14797 bool temp4
= False
;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 PyObject
* obj4
= 0 ;
14803 PyObject
* obj5
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg4
= wxString_in_helper(obj3
);
14817 if (arg4
== NULL
) SWIG_fail
;
14821 arg5
= (bool)SWIG_As_bool(obj4
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 arg6
= (int)SWIG_As_int(obj5
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "n", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14866 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (int)(arg1
)->SetSelection(arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_From_int((int)result
);
14882 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14885 bool arg2
= (bool) True
;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self",(char *) "forward", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 arg2
= (bool)SWIG_As_bool(obj1
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 (arg1
)->AdvanceSelection(arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14916 wxVisualAttributes result
;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "variant", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14924 arg1
= (int)SWIG_As_int(obj0
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 if (!wxPyCheckForApp()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 wxVisualAttributes
* resultptr
;
14937 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14946 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14956 int arg2
= (int) 0 ;
14957 int arg3
= (int) -1 ;
14958 int arg4
= (int) -1 ;
14959 wxBookCtrlEvent
*result
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 PyObject
* obj3
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14970 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 arg2
= (int)SWIG_As_int(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 arg3
= (int)SWIG_As_int(obj2
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 arg4
= (int)SWIG_As_int(obj3
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14999 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_From_int((int)result
);
15025 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "nSel", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= (int)SWIG_As_int(obj1
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 (arg1
)->SetSelection(arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_From_int((int)result
);
15080 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "nOldSel", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= (int)SWIG_As_int(obj1
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetOldSelection(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15112 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15114 return Py_BuildValue((char *)"");
15116 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxWindow
*arg1
= (wxWindow
*) 0 ;
15119 int arg2
= (int) -1 ;
15120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15124 long arg5
= (long) 0 ;
15125 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15126 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15127 wxNotebook
*result
;
15130 bool temp6
= False
;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 PyObject
* obj2
= 0 ;
15134 PyObject
* obj3
= 0 ;
15135 PyObject
* obj4
= 0 ;
15136 PyObject
* obj5
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 arg2
= (int)SWIG_As_int(obj1
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15161 arg5
= (long)SWIG_As_long(obj4
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15166 arg6
= wxString_in_helper(obj5
);
15167 if (arg6
== NULL
) SWIG_fail
;
15172 if (!wxPyCheckForApp()) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15194 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxNotebook
*result
;
15197 char *kwnames
[] = {
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15203 if (!wxPyCheckForApp()) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxNotebook
*)new wxNotebook();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15217 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15220 wxWindow
*arg2
= (wxWindow
*) 0 ;
15221 int arg3
= (int) -1 ;
15222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15226 long arg6
= (long) 0 ;
15227 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15232 bool temp7
= False
;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 PyObject
* obj2
= 0 ;
15236 PyObject
* obj3
= 0 ;
15237 PyObject
* obj4
= 0 ;
15238 PyObject
* obj5
= 0 ;
15239 PyObject
* obj6
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 arg3
= (int)SWIG_As_int(obj2
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15266 arg6
= (long)SWIG_As_long(obj5
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 arg7
= wxString_in_helper(obj6
);
15272 if (arg7
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15300 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_From_int((int)result
);
15326 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "padding", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self",(char *) "sz", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15393 wxPoint
*arg2
= 0 ;
15394 long *arg3
= (long *) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "pt", NULL
15405 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_From_int((int)result
);
15421 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15422 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15429 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "sizePage", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 wxSize
* resultptr
;
15457 resultptr
= new wxSize((wxSize
&) result
);
15458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15466 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15469 wxVisualAttributes result
;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "variant", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15477 arg1
= (int)SWIG_As_int(obj0
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 if (!wxPyCheckForApp()) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 wxVisualAttributes
* resultptr
;
15490 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15499 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15502 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15504 return Py_BuildValue((char *)"");
15506 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15509 int arg2
= (int) 0 ;
15510 int arg3
= (int) -1 ;
15511 int arg4
= (int) -1 ;
15512 wxNotebookEvent
*result
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 PyObject
* obj3
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15523 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 arg2
= (int)SWIG_As_int(obj1
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 arg3
= (int)SWIG_As_int(obj2
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 arg4
= (int)SWIG_As_int(obj3
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15552 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15555 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15557 return Py_BuildValue((char *)"");
15559 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxWindow
*arg1
= (wxWindow
*) 0 ;
15562 int arg2
= (int) -1 ;
15563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15567 long arg5
= (long) 0 ;
15568 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15570 wxListbook
*result
;
15573 bool temp6
= False
;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 PyObject
* obj5
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 arg2
= (int)SWIG_As_int(obj1
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15604 arg5
= (long)SWIG_As_long(obj4
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15609 arg6
= wxString_in_helper(obj5
);
15610 if (arg6
== NULL
) SWIG_fail
;
15615 if (!wxPyCheckForApp()) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15637 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxListbook
*result
;
15640 char *kwnames
[] = {
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15646 if (!wxPyCheckForApp()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (wxListbook
*)new wxListbook();
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15660 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxListbook
*arg1
= (wxListbook
*) 0 ;
15663 wxWindow
*arg2
= (wxWindow
*) 0 ;
15664 int arg3
= (int) -1 ;
15665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15669 long arg6
= (long) 0 ;
15670 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15675 bool temp7
= False
;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 PyObject
* obj2
= 0 ;
15679 PyObject
* obj3
= 0 ;
15680 PyObject
* obj4
= 0 ;
15681 PyObject
* obj5
= 0 ;
15682 PyObject
* obj6
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 arg3
= (int)SWIG_As_int(obj2
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15709 arg6
= (long)SWIG_As_long(obj5
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15714 arg7
= wxString_in_helper(obj6
);
15715 if (arg7
== NULL
) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxListbook
*arg1
= (wxListbook
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxListbook
*arg1
= (wxListbook
*) 0 ;
15774 wxListView
*result
;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxListView
*)(arg1
)->GetListView();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15797 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15800 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15802 return Py_BuildValue((char *)"");
15804 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15807 int arg2
= (int) 0 ;
15808 int arg3
= (int) -1 ;
15809 int arg4
= (int) -1 ;
15810 wxListbookEvent
*result
;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 PyObject
* obj2
= 0 ;
15814 PyObject
* obj3
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15821 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 arg2
= (int)SWIG_As_int(obj1
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 arg3
= (int)SWIG_As_int(obj2
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 arg4
= (int)SWIG_As_int(obj3
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15850 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15853 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15855 return Py_BuildValue((char *)"");
15857 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15860 wxBookCtrlSizer
*result
;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "nb", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15883 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->RecalcSizes();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (arg1
)->CalcMin();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 wxSize
* resultptr
;
15929 resultptr
= new wxSize((wxSize
&) result
);
15930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15938 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15941 wxBookCtrl
*result
;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15964 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
15966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15967 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15969 return Py_BuildValue((char *)"");
15971 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15974 wxNotebookSizer
*result
;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "nb", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15997 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->RecalcSizes();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (arg1
)->CalcMin();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 wxSize
* resultptr
;
16043 resultptr
= new wxSize((wxSize
&) result
);
16044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16052 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16055 wxNotebook
*result
;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= wxPyMake_wxObject(result
, 0);
16080 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16083 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16085 return Py_BuildValue((char *)"");
16087 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (int)(arg1
)->GetId();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_From_int((int)result
);
16113 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (wxControl
*)(arg1
)->GetControl();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= wxPyMake_wxObject(result
, 0);
16141 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16144 wxToolBarBase
*result
;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= wxPyMake_wxObject(result
, 0);
16169 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (int)(arg1
)->IsButton();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_From_int((int)result
);
16195 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (int)(arg1
)->IsControl();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_From_int((int)result
);
16221 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (int)(arg1
)->IsSeparator();
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= SWIG_From_int((int)result
);
16247 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (int)(arg1
)->GetStyle();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= SWIG_From_int((int)result
);
16273 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (int)(arg1
)->GetKind();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_From_int((int)result
);
16299 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (bool)(arg1
)->IsEnabled();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16327 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (bool)(arg1
)->IsToggled();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16355 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (bool)(arg1
)->CanBeToggled();
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16383 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16399 result
= (wxBitmap
*) &_result_ref
;
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 wxBitmap
* resultptr
= new wxBitmap(*result
);
16407 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16415 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16431 result
= (wxBitmap
*) &_result_ref
;
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 wxBitmap
* resultptr
= new wxBitmap(*result
);
16439 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16447 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (arg1
)->GetBitmap();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 wxBitmap
* resultptr
;
16468 resultptr
= new wxBitmap((wxBitmap
&) result
);
16469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16477 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (arg1
)->GetLabel();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16509 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (arg1
)->GetShortHelp();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16541 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (arg1
)->GetLongHelp();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "enable", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 arg2
= (bool)SWIG_As_bool(obj1
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (bool)(arg1
)->Enable(arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16605 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "toggle", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= (bool)SWIG_As_bool(obj1
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (bool)(arg1
)->SetToggle(arg2
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16662 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16665 wxString
*arg2
= 0 ;
16667 bool temp2
= False
;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "help", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 arg2
= wxString_in_helper(obj1
);
16679 if (arg2
== NULL
) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16709 wxString
*arg2
= 0 ;
16711 bool temp2
= False
;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "help", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 arg2
= wxString_in_helper(obj1
);
16723 if (arg2
== NULL
) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16750 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16753 wxBitmap
*arg2
= 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "bmp", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16766 if (arg2
== NULL
) {
16767 PyErr_SetString(PyExc_TypeError
,"null reference");
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16787 wxBitmap
*arg2
= 0 ;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "bmp", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16800 if (arg2
== NULL
) {
16801 PyErr_SetString(PyExc_TypeError
,"null reference");
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16818 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16821 wxString
*arg2
= 0 ;
16822 bool temp2
= False
;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self",(char *) "label", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 arg2
= wxString_in_helper(obj1
);
16834 if (arg2
== NULL
) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->SetLabel((wxString
const &)*arg2
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16859 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 Py_INCREF(Py_None
); resultobj
= Py_None
;
16884 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16887 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "tbar", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->Attach(arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= result
;
16939 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16942 PyObject
*arg2
= (PyObject
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "clientData", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
16969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16970 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16972 return Py_BuildValue((char *)"");
16974 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16978 wxString
*arg3
= 0 ;
16979 wxBitmap
*arg4
= 0 ;
16980 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16981 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16982 int arg6
= (int) wxITEM_NORMAL
;
16983 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16985 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16986 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16987 PyObject
*arg9
= (PyObject
*) NULL
;
16988 wxToolBarToolBase
*result
;
16989 bool temp3
= False
;
16990 bool temp7
= False
;
16991 bool temp8
= False
;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 PyObject
* obj2
= 0 ;
16995 PyObject
* obj3
= 0 ;
16996 PyObject
* obj4
= 0 ;
16997 PyObject
* obj5
= 0 ;
16998 PyObject
* obj6
= 0 ;
16999 PyObject
* obj7
= 0 ;
17000 PyObject
* obj8
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 arg2
= (int)SWIG_As_int(obj1
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 arg3
= wxString_in_helper(obj2
);
17012 if (arg3
== NULL
) SWIG_fail
;
17015 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17018 if (arg4
== NULL
) {
17019 PyErr_SetString(PyExc_TypeError
,"null reference");
17023 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17026 if (arg5
== NULL
) {
17027 PyErr_SetString(PyExc_TypeError
,"null reference");
17032 arg6
= (int)SWIG_As_int(obj5
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 arg7
= wxString_in_helper(obj6
);
17038 if (arg7
== NULL
) SWIG_fail
;
17044 arg8
= wxString_in_helper(obj7
);
17045 if (arg8
== NULL
) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= wxPyMake_wxObject(result
, 0);
17092 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17097 wxString
*arg4
= 0 ;
17098 wxBitmap
*arg5
= 0 ;
17099 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17100 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17101 int arg7
= (int) wxITEM_NORMAL
;
17102 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17104 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17105 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17106 PyObject
*arg10
= (PyObject
*) NULL
;
17107 wxToolBarToolBase
*result
;
17108 bool temp4
= False
;
17109 bool temp8
= False
;
17110 bool temp9
= False
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 PyObject
* obj3
= 0 ;
17115 PyObject
* obj4
= 0 ;
17116 PyObject
* obj5
= 0 ;
17117 PyObject
* obj6
= 0 ;
17118 PyObject
* obj7
= 0 ;
17119 PyObject
* obj8
= 0 ;
17120 PyObject
* obj9
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 arg3
= (int)SWIG_As_int(obj2
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 arg4
= wxString_in_helper(obj3
);
17134 if (arg4
== NULL
) SWIG_fail
;
17137 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17140 if (arg5
== NULL
) {
17141 PyErr_SetString(PyExc_TypeError
,"null reference");
17145 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17148 if (arg6
== NULL
) {
17149 PyErr_SetString(PyExc_TypeError
,"null reference");
17154 arg7
= (int)SWIG_As_int(obj6
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17159 arg8
= wxString_in_helper(obj7
);
17160 if (arg8
== NULL
) SWIG_fail
;
17166 arg9
= wxString_in_helper(obj8
);
17167 if (arg9
== NULL
) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 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
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= wxPyMake_wxObject(result
, 0);
17214 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17217 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17218 wxToolBarToolBase
*result
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self",(char *) "tool", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= wxPyMake_wxObject(result
, 0);
17246 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17250 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17251 wxToolBarToolBase
*result
;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 PyObject
* obj2
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self",(char *) "pos",(char *) "tool", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17262 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17264 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= wxPyMake_wxObject(result
, 0);
17282 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17285 wxControl
*arg2
= (wxControl
*) 0 ;
17286 wxToolBarToolBase
*result
;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self",(char *) "control", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= wxPyMake_wxObject(result
, 0);
17314 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17318 wxControl
*arg3
= (wxControl
*) 0 ;
17319 wxToolBarToolBase
*result
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 PyObject
* obj2
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "pos",(char *) "control", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17330 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= wxPyMake_wxObject(result
, 0);
17350 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "id", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 arg2
= (int)SWIG_As_int(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= wxPyMake_wxObject(result
, 0);
17382 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17385 wxToolBarToolBase
*result
;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= wxPyMake_wxObject(result
, 0);
17410 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17414 wxToolBarToolBase
*result
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "pos", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17424 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= wxPyMake_wxObject(result
, 0);
17442 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17446 wxToolBarToolBase
*result
;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "id", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 arg2
= (int)SWIG_As_int(obj1
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= wxPyMake_wxObject(result
, 0);
17474 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "pos", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17506 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "id", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",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
= (int)SWIG_As_int(obj1
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (bool)(arg1
)->DeleteTool(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17541 PyObject
* obj0
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->ClearTools();
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (bool)(arg1
)->Realize();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17591 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "id",(char *) "enable", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (int)SWIG_As_int(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17608 arg3
= (bool)SWIG_As_bool(obj2
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 (arg1
)->EnableTool(arg2
,arg3
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 Py_INCREF(Py_None
); resultobj
= Py_None
;
17624 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17629 PyObject
* obj0
= 0 ;
17630 PyObject
* obj1
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "id",(char *) "toggle", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17639 arg2
= (int)SWIG_As_int(obj1
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17641 arg3
= (bool)SWIG_As_bool(obj2
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->ToggleTool(arg2
,arg3
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17657 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "id",(char *) "toggle", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 arg2
= (int)SWIG_As_int(obj1
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17674 arg3
= (bool)SWIG_As_bool(obj2
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 (arg1
)->SetToggle(arg2
,arg3
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 Py_INCREF(Py_None
); resultobj
= Py_None
;
17690 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self",(char *) "id", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 arg2
= (int)SWIG_As_int(obj1
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= result
;
17720 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17724 PyObject
*arg3
= (PyObject
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "id",(char *) "clientData", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",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
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self",(char *) "id", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17766 arg2
= (int)SWIG_As_int(obj1
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_From_int((int)result
);
17782 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "id", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 arg2
= (int)SWIG_As_int(obj1
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (bool)(arg1
)->GetToolState(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17814 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "id", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 arg2
= (int)SWIG_As_int(obj1
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17846 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17850 wxString
*arg3
= 0 ;
17851 bool temp3
= False
;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 PyObject
* obj2
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "id",(char *) "helpString", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
17866 if (arg3
== NULL
) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self",(char *) "id", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 arg2
= (int)SWIG_As_int(obj1
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (arg1
)->GetToolShortHelp(arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17927 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17931 wxString
*arg3
= 0 ;
17932 bool temp3
= False
;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 PyObject
* obj2
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self",(char *) "id",(char *) "helpString", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17943 arg2
= (int)SWIG_As_int(obj1
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 arg3
= wxString_in_helper(obj2
);
17947 if (arg3
== NULL
) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "id", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (int)SWIG_As_int(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (arg1
)->GetToolLongHelp(arg2
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18008 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 PyObject
* obj2
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "x",(char *) "y", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 arg2
= (int)SWIG_As_int(obj1
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18025 arg3
= (int)SWIG_As_int(obj2
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetMargins(arg2
,arg3
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self",(char *) "size", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 Py_INCREF(Py_None
); resultobj
= Py_None
;
18073 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "packing", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 arg2
= (int)SWIG_As_int(obj1
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->SetToolPacking(arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 Py_INCREF(Py_None
); resultobj
= Py_None
;
18102 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 PyObject
* obj1
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "separation", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 arg2
= (int)SWIG_As_int(obj1
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 (arg1
)->SetToolSeparation(arg2
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 Py_INCREF(Py_None
); resultobj
= Py_None
;
18131 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (arg1
)->GetToolMargins();
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18151 wxSize
* resultptr
;
18152 resultptr
= new wxSize((wxSize
&) result
);
18153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18161 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (arg1
)->GetMargins();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 wxSize
* resultptr
;
18182 resultptr
= new wxSize((wxSize
&) result
);
18183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18191 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (int)(arg1
)->GetToolPacking();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_From_int((int)result
);
18217 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (int)(arg1
)->GetToolSeparation();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= SWIG_From_int((int)result
);
18243 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "nRows", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 arg2
= (int)SWIG_As_int(obj1
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 (arg1
)->SetRows(arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 Py_INCREF(Py_None
); resultobj
= Py_None
;
18272 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 PyObject
* obj2
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self",(char *) "rows",(char *) "cols", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18287 arg2
= (int)SWIG_As_int(obj1
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18289 arg3
= (int)SWIG_As_int(obj2
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 Py_INCREF(Py_None
); resultobj
= Py_None
;
18305 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (int)(arg1
)->GetMaxRows();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_From_int((int)result
);
18331 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)(arg1
)->GetMaxCols();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_From_int((int)result
);
18357 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "size", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (arg1
)->GetToolBitmapSize();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 wxSize
* resultptr
;
18410 resultptr
= new wxSize((wxSize
&) result
);
18411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18419 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (arg1
)->GetToolSize();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 wxSize
* resultptr
;
18440 resultptr
= new wxSize((wxSize
&) result
);
18441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18449 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18454 wxToolBarToolBase
*result
;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 PyObject
* obj2
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "x",(char *) "y", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 arg2
= (int)SWIG_As_int(obj1
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18467 arg3
= (int)SWIG_As_int(obj2
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= wxPyMake_wxObject(result
, 0);
18485 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18489 wxToolBarToolBase
*result
;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self",(char *) "toolid", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18499 arg2
= (int)SWIG_As_int(obj1
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= wxPyMake_wxObject(result
, 0);
18517 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (bool)(arg1
)->IsVertical();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18545 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18550 return Py_BuildValue((char *)"");
18552 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxWindow
*arg1
= (wxWindow
*) 0 ;
18555 int arg2
= (int) -1 ;
18556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18560 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18561 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18566 bool temp6
= False
;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 PyObject
* obj3
= 0 ;
18571 PyObject
* obj4
= 0 ;
18572 PyObject
* obj5
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 arg2
= (int)SWIG_As_int(obj1
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18597 arg5
= (long)SWIG_As_long(obj4
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18602 arg6
= wxString_in_helper(obj5
);
18603 if (arg6
== NULL
) SWIG_fail
;
18608 if (!wxPyCheckForApp()) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18630 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18633 char *kwnames
[] = {
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18639 if (!wxPyCheckForApp()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxToolBar
*)new wxToolBar();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18653 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18656 wxWindow
*arg2
= (wxWindow
*) 0 ;
18657 int arg3
= (int) -1 ;
18658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18662 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18663 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18668 bool temp7
= False
;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 PyObject
* obj2
= 0 ;
18672 PyObject
* obj3
= 0 ;
18673 PyObject
* obj4
= 0 ;
18674 PyObject
* obj5
= 0 ;
18675 PyObject
* obj6
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 arg3
= (int)SWIG_As_int(obj2
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18702 arg6
= (long)SWIG_As_long(obj5
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18707 arg7
= wxString_in_helper(obj6
);
18708 if (arg7
== NULL
) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18736 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18741 wxToolBarToolBase
*result
;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "x",(char *) "y", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 arg2
= (int)SWIG_As_int(obj1
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18754 arg3
= (int)SWIG_As_int(obj2
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= wxPyMake_wxObject(result
, 0);
18772 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18775 wxVisualAttributes result
;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "variant", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18783 arg1
= (int)SWIG_As_int(obj0
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18787 if (!wxPyCheckForApp()) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 wxVisualAttributes
* resultptr
;
18796 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18805 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18808 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18810 return Py_BuildValue((char *)"");
18812 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18813 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18818 static PyObject
*_wrap_ListCtrlNameStr_get() {
18823 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18825 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18832 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxColour
const &arg1_defvalue
= wxNullColour
;
18835 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18836 wxColour
const &arg2_defvalue
= wxNullColour
;
18837 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18838 wxFont
const &arg3_defvalue
= wxNullFont
;
18839 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18840 wxListItemAttr
*result
;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 PyObject
* obj2
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18854 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18864 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18867 if (arg3
== NULL
) {
18868 PyErr_SetString(PyExc_TypeError
,"null reference");
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18886 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18889 wxColour
*arg2
= 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self",(char *) "colText", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18921 wxColour
*arg2
= 0 ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "colBack", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18950 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "font", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18966 if (arg2
== NULL
) {
18967 PyErr_SetString(PyExc_TypeError
,"null reference");
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetFont((wxFont
const &)*arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (bool)(arg1
)->HasTextColour();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19012 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 result
= (bool)(arg1
)->HasBackgroundColour();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19040 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)(arg1
)->HasFont();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19068 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (arg1
)->GetTextColour();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 wxColour
* resultptr
;
19089 resultptr
= new wxColour((wxColour
&) result
);
19090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19098 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (arg1
)->GetBackgroundColour();
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 wxColour
* resultptr
;
19119 resultptr
= new wxColour((wxColour
&) result
);
19120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19128 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (arg1
)->GetFont();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 wxFont
* resultptr
;
19149 resultptr
= new wxFont((wxFont
&) result
);
19150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19158 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxListItemAttr_Destroy(arg1
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19186 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19188 return Py_BuildValue((char *)"");
19190 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxListItem
*result
;
19193 char *kwnames
[] = {
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (wxListItem
*)new wxListItem();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= wxPyMake_wxObject(result
, 1);
19214 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxListItem
*arg1
= (wxListItem
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxListItem
*arg1
= (wxListItem
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxListItem
*arg1
= (wxListItem
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 (arg1
)->ClearAttributes();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 Py_INCREF(Py_None
); resultobj
= Py_None
;
19289 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxListItem
*arg1
= (wxListItem
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "mask", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 arg2
= (long)SWIG_As_long(obj1
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetMask(arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxListItem
*arg1
= (wxListItem
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "id", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 arg2
= (long)SWIG_As_long(obj1
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetId(arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxListItem
*arg1
= (wxListItem
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "col", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= (int)SWIG_As_int(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetColumn(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxListItem
*arg1
= (wxListItem
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "state", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 arg2
= (long)SWIG_As_long(obj1
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->SetState(arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxListItem
*arg1
= (wxListItem
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "stateMask", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 arg2
= (long)SWIG_As_long(obj1
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->SetStateMask(arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 Py_INCREF(Py_None
); resultobj
= Py_None
;
19434 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxListItem
*arg1
= (wxListItem
*) 0 ;
19437 wxString
*arg2
= 0 ;
19438 bool temp2
= False
;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "text", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 arg2
= wxString_in_helper(obj1
);
19450 if (arg2
== NULL
) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->SetText((wxString
const &)*arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxListItem
*arg1
= (wxListItem
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self",(char *) "image", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 arg2
= (int)SWIG_As_int(obj1
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetImage(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxListItem
*arg1
= (wxListItem
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "data", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (long)SWIG_As_long(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetData(arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListItem
*arg1
= (wxListItem
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "width", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 arg2
= (int)SWIG_As_int(obj1
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->SetWidth(arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19562 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxListItem
*arg1
= (wxListItem
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self",(char *) "align", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 arg2
= (int)SWIG_As_int(obj1
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListItem
*arg1
= (wxListItem
*) 0 ;
19594 wxColour
*arg2
= 0 ;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "colText", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 Py_INCREF(Py_None
); resultobj
= Py_None
;
19623 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxListItem
*arg1
= (wxListItem
*) 0 ;
19626 wxColour
*arg2
= 0 ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self",(char *) "colBack", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 Py_INCREF(Py_None
); resultobj
= Py_None
;
19655 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxListItem
*arg1
= (wxListItem
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self",(char *) "font", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19671 if (arg2
== NULL
) {
19672 PyErr_SetString(PyExc_TypeError
,"null reference");
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->SetFont((wxFont
const &)*arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListItem
*arg1
= (wxListItem
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (long)(arg1
)->GetMask();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_From_long((long)result
);
19715 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListItem
*arg1
= (wxListItem
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (long)(arg1
)->GetId();
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_From_long((long)result
);
19741 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxListItem
*arg1
= (wxListItem
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (int)(arg1
)->GetColumn();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_From_int((int)result
);
19767 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxListItem
*arg1
= (wxListItem
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (long)(arg1
)->GetState();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_From_long((long)result
);
19793 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxListItem
*arg1
= (wxListItem
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 wxString
const &_result_ref
= (arg1
)->GetText();
19809 result
= (wxString
*) &_result_ref
;
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19828 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListItem
*arg1
= (wxListItem
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (int)(arg1
)->GetImage();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_From_int((int)result
);
19854 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListItem
*arg1
= (wxListItem
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (long)(arg1
)->GetData();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_From_long((long)result
);
19880 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxListItem
*arg1
= (wxListItem
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (int)(arg1
)->GetWidth();
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_From_int((int)result
);
19906 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxListItem
*arg1
= (wxListItem
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (int)(arg1
)->GetAlign();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_From_int((int)result
);
19932 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxListItem
*arg1
= (wxListItem
*) 0 ;
19935 wxListItemAttr
*result
;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19958 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxListItem
*arg1
= (wxListItem
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (bool)(arg1
)->HasAttributes();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19986 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxListItem
*arg1
= (wxListItem
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20006 wxColour
* resultptr
;
20007 resultptr
= new wxColour((wxColour
&) result
);
20008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20016 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxListItem
*arg1
= (wxListItem
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 wxColour
* resultptr
;
20037 resultptr
= new wxColour((wxColour
&) result
);
20038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20046 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxListItem
*arg1
= (wxListItem
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= ((wxListItem
const *)arg1
)->GetFont();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20066 wxFont
* resultptr
;
20067 resultptr
= new wxFont((wxFont
&) result
);
20068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20076 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxListItem
*arg1
= (wxListItem
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self",(char *) "m_mask", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20089 arg2
= (long)SWIG_As_long(obj1
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20091 if (arg1
) (arg1
)->m_mask
= arg2
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20100 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxListItem
*arg1
= (wxListItem
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20112 result
= (long) ((arg1
)->m_mask
);
20114 resultobj
= SWIG_From_long((long)result
);
20121 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxListItem
*arg1
= (wxListItem
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "m_itemId", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 arg2
= (long)SWIG_As_long(obj1
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20136 if (arg1
) (arg1
)->m_itemId
= arg2
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxListItem
*arg1
= (wxListItem
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20157 result
= (long) ((arg1
)->m_itemId
);
20159 resultobj
= SWIG_From_long((long)result
);
20166 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxListItem
*arg1
= (wxListItem
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "m_col", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 arg2
= (int)SWIG_As_int(obj1
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20181 if (arg1
) (arg1
)->m_col
= arg2
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxListItem
*arg1
= (wxListItem
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 result
= (int) ((arg1
)->m_col
);
20204 resultobj
= SWIG_From_int((int)result
);
20211 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxListItem
*arg1
= (wxListItem
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self",(char *) "m_state", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 arg2
= (long)SWIG_As_long(obj1
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20226 if (arg1
) (arg1
)->m_state
= arg2
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListItem
*arg1
= (wxListItem
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 result
= (long) ((arg1
)->m_state
);
20249 resultobj
= SWIG_From_long((long)result
);
20256 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxListItem
*arg1
= (wxListItem
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "m_stateMask", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 arg2
= (long)SWIG_As_long(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20271 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 result
= (long) ((arg1
)->m_stateMask
);
20294 resultobj
= SWIG_From_long((long)result
);
20301 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxListItem
*arg1
= (wxListItem
*) 0 ;
20304 wxString
*arg2
= (wxString
*) 0 ;
20305 bool temp2
= False
;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self",(char *) "m_text", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 arg2
= wxString_in_helper(obj1
);
20317 if (arg2
== NULL
) SWIG_fail
;
20320 if (arg1
) (arg1
)->m_text
= *arg2
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20337 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxListItem
*arg1
= (wxListItem
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 result
= (wxString
*)& ((arg1
)->m_text
);
20353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20364 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxListItem
*arg1
= (wxListItem
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "m_image", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 arg2
= (int)SWIG_As_int(obj1
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20379 if (arg1
) (arg1
)->m_image
= arg2
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20388 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxListItem
*arg1
= (wxListItem
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 result
= (int) ((arg1
)->m_image
);
20402 resultobj
= SWIG_From_int((int)result
);
20409 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxListItem
*arg1
= (wxListItem
*) 0 ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self",(char *) "m_data", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 arg2
= (long)SWIG_As_long(obj1
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20424 if (arg1
) (arg1
)->m_data
= arg2
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_ListItem_m_data_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_data_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
= (long) ((arg1
)->m_data
);
20447 resultobj
= SWIG_From_long((long)result
);
20454 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxListItem
*arg1
= (wxListItem
*) 0 ;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "m_format", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20467 arg2
= (int)SWIG_As_int(obj1
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20469 if (arg1
) (arg1
)->m_format
= arg2
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20478 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxListItem
*arg1
= (wxListItem
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 result
= (int) ((arg1
)->m_format
);
20492 resultobj
= SWIG_From_int((int)result
);
20499 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxListItem
*arg1
= (wxListItem
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self",(char *) "m_width", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20512 arg2
= (int)SWIG_As_int(obj1
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20514 if (arg1
) (arg1
)->m_width
= arg2
;
20516 Py_INCREF(Py_None
); resultobj
= Py_None
;
20523 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxListItem
*arg1
= (wxListItem
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 result
= (int) ((arg1
)->m_width
);
20537 resultobj
= SWIG_From_int((int)result
);
20544 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20547 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20549 return Py_BuildValue((char *)"");
20551 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20554 int arg2
= (int) 0 ;
20555 wxListEvent
*result
;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "commandType",(char *) "id", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20564 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 arg2
= (int)SWIG_As_int(obj1
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20585 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "m_code", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 arg2
= (int)SWIG_As_int(obj1
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20600 if (arg1
) (arg1
)->m_code
= arg2
;
20602 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 result
= (int) ((arg1
)->m_code
);
20623 resultobj
= SWIG_From_int((int)result
);
20630 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "m_oldItemIndex", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 arg2
= (long)SWIG_As_long(obj1
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20645 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20647 Py_INCREF(Py_None
); resultobj
= Py_None
;
20654 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 result
= (long) ((arg1
)->m_oldItemIndex
);
20668 resultobj
= SWIG_From_long((long)result
);
20675 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "m_itemIndex", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 arg2
= (long)SWIG_As_long(obj1
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20690 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 result
= (long) ((arg1
)->m_itemIndex
);
20713 resultobj
= SWIG_From_long((long)result
);
20720 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "m_col", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 arg2
= (int)SWIG_As_int(obj1
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20735 if (arg1
) (arg1
)->m_col
= arg2
;
20737 Py_INCREF(Py_None
); resultobj
= Py_None
;
20744 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 result
= (int) ((arg1
)->m_col
);
20758 resultobj
= SWIG_From_int((int)result
);
20765 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20768 wxPoint
*arg2
= (wxPoint
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self",(char *) "m_pointDrag", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20780 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20782 Py_INCREF(Py_None
); resultobj
= Py_None
;
20789 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20810 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20813 wxListItem
*result
;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20822 result
= (wxListItem
*)& ((arg1
)->m_item
);
20825 resultobj
= wxPyMake_wxObject(result
, 0);
20833 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (int)(arg1
)->GetKeyCode();
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= SWIG_From_int((int)result
);
20859 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= (long)(arg1
)->GetIndex();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= SWIG_From_long((long)result
);
20885 static PyObject
*_wrap_ListEvent_GetColumn(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_GetColumn",kwnames
,&obj0
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (int)(arg1
)->GetColumn();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_From_int((int)result
);
20911 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (arg1
)->GetPoint();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20931 wxPoint
* resultptr
;
20932 resultptr
= new wxPoint((wxPoint
&) result
);
20933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20941 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 wxString
const &_result_ref
= (arg1
)->GetLabel();
20957 result
= (wxString
*) &_result_ref
;
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20976 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 wxString
const &_result_ref
= (arg1
)->GetText();
20992 result
= (wxString
*) &_result_ref
;
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21002 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21011 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (int)(arg1
)->GetImage();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_From_int((int)result
);
21037 static PyObject
*_wrap_ListEvent_GetData(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_GetData",kwnames
,&obj0
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (long)(arg1
)->GetData();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_long((long)result
);
21063 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (long)(arg1
)->GetMask();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_From_long((long)result
);
21089 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21092 wxListItem
*result
;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21105 result
= (wxListItem
*) &_result_ref
;
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21118 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (long)(arg1
)->GetCacheFrom();
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= SWIG_From_long((long)result
);
21144 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (long)(arg1
)->GetCacheTo();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_From_long((long)result
);
21170 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21198 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "editCancelled", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 arg2
= (bool)SWIG_As_bool(obj1
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 (arg1
)->SetEditCanceled(arg2
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 Py_INCREF(Py_None
); resultobj
= Py_None
;
21227 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21230 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21232 return Py_BuildValue((char *)"");
21234 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxWindow
*arg1
= (wxWindow
*) 0 ;
21237 int arg2
= (int) -1 ;
21238 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21239 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21240 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21241 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21242 long arg5
= (long) wxLC_ICON
;
21243 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21244 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21245 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21247 wxPyListCtrl
*result
;
21250 bool temp7
= False
;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 PyObject
* obj2
= 0 ;
21254 PyObject
* obj3
= 0 ;
21255 PyObject
* obj4
= 0 ;
21256 PyObject
* obj5
= 0 ;
21257 PyObject
* obj6
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 arg2
= (int)SWIG_As_int(obj1
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21278 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21282 arg5
= (long)SWIG_As_long(obj4
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21289 if (arg6
== NULL
) {
21290 PyErr_SetString(PyExc_TypeError
,"null reference");
21296 arg7
= wxString_in_helper(obj6
);
21297 if (arg7
== NULL
) SWIG_fail
;
21302 if (!wxPyCheckForApp()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21324 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxPyListCtrl
*result
;
21327 char *kwnames
[] = {
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21333 if (!wxPyCheckForApp()) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21347 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
;
21349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21350 wxWindow
*arg2
= (wxWindow
*) 0 ;
21351 int arg3
= (int) -1 ;
21352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21356 long arg6
= (long) wxLC_ICON
;
21357 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21358 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21359 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21360 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21364 bool temp8
= False
;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 PyObject
* obj2
= 0 ;
21368 PyObject
* obj3
= 0 ;
21369 PyObject
* obj4
= 0 ;
21370 PyObject
* obj5
= 0 ;
21371 PyObject
* obj6
= 0 ;
21372 PyObject
* obj7
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 arg3
= (int)SWIG_As_int(obj2
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21399 arg6
= (long)SWIG_As_long(obj5
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21406 if (arg7
== NULL
) {
21407 PyErr_SetString(PyExc_TypeError
,"null reference");
21413 arg8
= wxString_in_helper(obj7
);
21414 if (arg8
== NULL
) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21442 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21445 PyObject
*arg2
= (PyObject
*) 0 ;
21446 PyObject
*arg3
= (PyObject
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "self",(char *) "_class", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 Py_INCREF(Py_None
); resultobj
= Py_None
;
21473 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21476 wxColour
*arg2
= 0 ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "col", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21508 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21511 wxColour
*arg2
= 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "col", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21543 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21547 wxListItem
*result
;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "col", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21557 arg2
= (int)SWIG_As_int(obj1
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= wxPyMake_wxObject(result
, 0);
21575 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21579 wxListItem
*arg3
= 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "col",(char *) "item", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg2
= (int)SWIG_As_int(obj1
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21596 if (arg3
== NULL
) {
21597 PyErr_SetString(PyExc_TypeError
,"null reference");
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21616 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self",(char *) "col", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21630 arg2
= (int)SWIG_As_int(obj1
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_From_int((int)result
);
21646 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 PyObject
* obj2
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "col",(char *) "width", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21662 arg2
= (int)SWIG_As_int(obj1
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21664 arg3
= (int)SWIG_As_int(obj2
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21682 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_From_int((int)result
);
21708 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 wxRect
* resultptr
;
21729 resultptr
= new wxRect((wxRect
&) result
);
21730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21738 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21742 int arg3
= (int) 0 ;
21743 wxListItem
*result
;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "itemId",(char *) "col", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 arg2
= (long)SWIG_As_long(obj1
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 arg3
= (int)SWIG_As_int(obj2
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= wxPyMake_wxObject(result
, 0);
21776 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21779 wxListItem
*arg2
= 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "info", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21793 if (arg2
== NULL
) {
21794 PyErr_SetString(PyExc_TypeError
,"null reference");
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (bool)(arg1
)->SetItem(*arg2
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21813 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21818 wxString
*arg4
= 0 ;
21819 int arg5
= (int) -1 ;
21821 bool temp4
= False
;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 PyObject
* obj2
= 0 ;
21825 PyObject
* obj3
= 0 ;
21826 PyObject
* obj4
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21834 arg2
= (long)SWIG_As_long(obj1
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21836 arg3
= (int)SWIG_As_int(obj2
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 arg4
= wxString_in_helper(obj3
);
21840 if (arg4
== NULL
) SWIG_fail
;
21844 arg5
= (int)SWIG_As_int(obj4
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_From_long((long)result
);
21869 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 PyObject
* obj2
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 arg2
= (long)SWIG_As_long(obj1
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21887 arg3
= (long)SWIG_As_long(obj2
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_From_int((int)result
);
21903 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 PyObject
* obj2
= 0 ;
21913 PyObject
* obj3
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 arg2
= (long)SWIG_As_long(obj1
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21923 arg3
= (long)SWIG_As_long(obj2
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21925 arg4
= (long)SWIG_As_long(obj3
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 PyObject
* obj2
= 0 ;
21953 PyObject
* obj3
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21961 arg2
= (long)SWIG_As_long(obj1
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21963 arg3
= (int)SWIG_As_int(obj2
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21965 arg4
= (int)SWIG_As_int(obj3
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21983 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self",(char *) "item", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21997 arg2
= (long)SWIG_As_long(obj1
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22019 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22023 wxString
*arg3
= 0 ;
22024 bool temp3
= False
;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 PyObject
* obj2
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "item",(char *) "str", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 arg2
= (long)SWIG_As_long(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 arg3
= wxString_in_helper(obj2
);
22039 if (arg3
== NULL
) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "item", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22078 arg2
= (long)SWIG_As_long(obj1
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_From_long((long)result
);
22094 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 PyObject
* obj2
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "item",(char *) "data", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 arg2
= (long)SWIG_As_long(obj1
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22112 arg3
= (long)SWIG_As_long(obj2
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22130 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "item", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 arg2
= (long)SWIG_As_long(obj1
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 wxPoint
* resultptr
;
22155 resultptr
= new wxPoint((wxPoint
&) result
);
22156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22164 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22168 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self",(char *) "item",(char *) "code", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 arg2
= (long)SWIG_As_long(obj1
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 arg3
= (int)SWIG_As_int(obj2
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 wxRect
* resultptr
;
22195 resultptr
= new wxRect((wxRect
&) result
);
22196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22204 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22208 wxPoint
*arg3
= 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 PyObject
* obj2
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self",(char *) "item",(char *) "pos", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22221 arg2
= (long)SWIG_As_long(obj1
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22243 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_From_int((int)result
);
22269 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_From_int((int)result
);
22295 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 wxSize
* resultptr
;
22316 resultptr
= new wxSize((wxSize
&) result
);
22317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22325 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22329 bool arg3
= (bool) False
;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 PyObject
* obj2
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 arg2
= (int)SWIG_As_int(obj1
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 arg3
= (bool)SWIG_As_bool(obj2
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 (arg1
)->SetItemSpacing(arg2
,arg3
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 Py_INCREF(Py_None
); resultobj
= Py_None
;
22360 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_From_int((int)result
);
22386 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 wxColour
* resultptr
;
22407 resultptr
= new wxColour((wxColour
&) result
);
22408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22416 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22419 wxColour
*arg2
= 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self",(char *) "col", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 Py_INCREF(Py_None
); resultobj
= Py_None
;
22448 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_From_long((long)result
);
22474 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22478 bool arg3
= (bool) True
;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 PyObject
* obj2
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "style",(char *) "add", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 arg2
= (long)SWIG_As_long(obj1
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 arg3
= (bool)SWIG_As_bool(obj2
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->SetSingleStyle(arg2
,arg3
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22509 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "style", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 arg2
= (long)SWIG_As_long(obj1
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->SetWindowStyleFlag(arg2
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22542 int arg3
= (int) wxLIST_NEXT_ALL
;
22543 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 PyObject
* obj2
= 0 ;
22548 PyObject
* obj3
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 arg2
= (long)SWIG_As_long(obj1
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 arg3
= (int)SWIG_As_int(obj2
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22563 arg4
= (int)SWIG_As_int(obj3
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_From_long((long)result
);
22580 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22584 wxImageList
*result
;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "which", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 arg2
= (int)SWIG_As_int(obj1
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= wxPyMake_wxObject(result
, 0);
22612 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22615 wxImageList
*arg2
= (wxImageList
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 PyObject
* obj2
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self",(char *) "imageList",(char *) "which", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22629 arg3
= (int)SWIG_As_int(obj2
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->SetImageList(arg2
,arg3
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 Py_INCREF(Py_None
); resultobj
= Py_None
;
22645 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22648 wxImageList
*arg2
= (wxImageList
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "imageList",(char *) "which", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22661 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22662 arg3
= (int)SWIG_As_int(obj2
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 (arg1
)->AssignImageList(arg2
,arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22706 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22734 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "item", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 arg2
= (long)SWIG_As_long(obj1
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->RefreshItem(arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22778 arg2
= (long)SWIG_As_long(obj1
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22780 arg3
= (long)SWIG_As_long(obj2
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 (arg1
)->RefreshItems(arg2
,arg3
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 Py_INCREF(Py_None
); resultobj
= Py_None
;
22796 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22799 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22801 PyObject
* obj0
= 0 ;
22802 PyObject
* obj1
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self",(char *) "flag", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 arg2
= (int)SWIG_As_int(obj1
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 result
= (bool)(arg1
)->Arrange(arg2
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22830 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "item", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22844 arg2
= (long)SWIG_As_long(obj1
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (bool)(arg1
)->DeleteItem(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (bool)(arg1
)->DeleteAllItems();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22890 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "col", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 arg2
= (int)SWIG_As_int(obj1
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22922 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (bool)(arg1
)->DeleteAllColumns();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22950 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 (arg1
)->ClearAll();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "item", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 arg2
= (long)SWIG_As_long(obj1
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->EditLabel(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "item", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 arg2
= (long)SWIG_As_long(obj1
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23036 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23040 wxString
*arg3
= 0 ;
23041 bool arg4
= (bool) False
;
23043 bool temp3
= False
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 PyObject
* obj2
= 0 ;
23047 PyObject
* obj3
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23055 arg2
= (long)SWIG_As_long(obj1
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 arg3
= wxString_in_helper(obj2
);
23059 if (arg3
== NULL
) SWIG_fail
;
23063 arg4
= (bool)SWIG_As_bool(obj3
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_From_long((long)result
);
23088 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 PyObject
* obj2
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "start",(char *) "data", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 arg2
= (long)SWIG_As_long(obj1
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23106 arg3
= (long)SWIG_As_long(obj2
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_From_long((long)result
);
23122 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23126 wxPoint
*arg3
= 0 ;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 PyObject
* obj2
= 0 ;
23133 PyObject
* obj3
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 arg2
= (long)SWIG_As_long(obj1
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23147 arg4
= (int)SWIG_As_int(obj3
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_From_long((long)result
);
23163 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23166 wxPoint
*arg2
= 0 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self",(char *) "point", NULL
23178 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_From_long((long)result
);
23194 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23195 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23202 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23205 wxListItem
*arg2
= 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "info", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23219 if (arg2
== NULL
) {
23220 PyErr_SetString(PyExc_TypeError
,"null reference");
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (long)(arg1
)->InsertItem(*arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_From_long((long)result
);
23237 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23241 wxString
*arg3
= 0 ;
23243 bool temp3
= False
;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "index",(char *) "label", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 arg2
= (long)SWIG_As_long(obj1
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 arg3
= wxString_in_helper(obj2
);
23258 if (arg3
== NULL
) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_From_long((long)result
);
23283 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 PyObject
* obj2
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23299 arg2
= (long)SWIG_As_long(obj1
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23301 arg3
= (int)SWIG_As_int(obj2
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_From_long((long)result
);
23317 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23321 wxString
*arg3
= 0 ;
23324 bool temp3
= False
;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 PyObject
* obj2
= 0 ;
23328 PyObject
* obj3
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 arg2
= (long)SWIG_As_long(obj1
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 arg3
= wxString_in_helper(obj2
);
23340 if (arg3
== NULL
) SWIG_fail
;
23343 arg4
= (int)SWIG_As_int(obj3
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_long((long)result
);
23367 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23371 wxListItem
*arg3
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 PyObject
* obj2
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "col",(char *) "info", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 arg2
= (long)SWIG_As_long(obj1
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23385 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23388 if (arg3
== NULL
) {
23389 PyErr_SetString(PyExc_TypeError
,"null reference");
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_From_long((long)result
);
23406 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23410 wxString
*arg3
= 0 ;
23411 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23412 int arg5
= (int) -1 ;
23414 bool temp3
= False
;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 PyObject
* obj2
= 0 ;
23418 PyObject
* obj3
= 0 ;
23419 PyObject
* obj4
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 arg2
= (long)SWIG_As_long(obj1
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 arg3
= wxString_in_helper(obj2
);
23431 if (arg3
== NULL
) SWIG_fail
;
23435 arg4
= (int)SWIG_As_int(obj3
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 arg5
= (int)SWIG_As_int(obj4
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_From_long((long)result
);
23464 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "count", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 arg2
= (long)SWIG_As_long(obj1
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->SetItemCount(arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 PyObject
* obj2
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "dx",(char *) "dy", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 arg2
= (int)SWIG_As_int(obj1
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23511 arg3
= (int)SWIG_As_int(obj2
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23529 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23533 wxColour
*arg3
= 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 PyObject
* obj2
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "item",(char *) "col", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23545 arg2
= (long)SWIG_As_long(obj1
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 PyObject
* obj1
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self",(char *) "item", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 arg2
= (long)SWIG_As_long(obj1
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 wxColour
* resultptr
;
23590 resultptr
= new wxColour((wxColour
&) result
);
23591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23599 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23603 wxColour
*arg3
= 0 ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 PyObject
* obj2
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "item",(char *) "col", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 arg2
= (long)SWIG_As_long(obj1
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 Py_INCREF(Py_None
); resultobj
= Py_None
;
23635 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "item", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 arg2
= (long)SWIG_As_long(obj1
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 wxColour
* resultptr
;
23660 resultptr
= new wxColour((wxColour
&) result
);
23661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23669 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23672 PyObject
*arg2
= (PyObject
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "func", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23700 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= wxPyMake_wxObject(result
, 0);
23728 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23731 wxVisualAttributes result
;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "variant", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23739 arg1
= (int)SWIG_As_int(obj0
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 if (!wxPyCheckForApp()) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 wxVisualAttributes
* resultptr
;
23752 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23761 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23764 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23766 return Py_BuildValue((char *)"");
23768 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxWindow
*arg1
= (wxWindow
*) 0 ;
23771 int arg2
= (int) -1 ;
23772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23776 long arg5
= (long) wxLC_REPORT
;
23777 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23778 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23779 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23780 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23781 wxListView
*result
;
23784 bool temp7
= False
;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 PyObject
* obj2
= 0 ;
23788 PyObject
* obj3
= 0 ;
23789 PyObject
* obj4
= 0 ;
23790 PyObject
* obj5
= 0 ;
23791 PyObject
* obj6
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 arg2
= (int)SWIG_As_int(obj1
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23816 arg5
= (long)SWIG_As_long(obj4
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23823 if (arg6
== NULL
) {
23824 PyErr_SetString(PyExc_TypeError
,"null reference");
23830 arg7
= wxString_in_helper(obj6
);
23831 if (arg7
== NULL
) SWIG_fail
;
23836 if (!wxPyCheckForApp()) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23858 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxListView
*result
;
23861 char *kwnames
[] = {
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23867 if (!wxPyCheckForApp()) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxListView
*)new wxListView();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23881 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxListView
*arg1
= (wxListView
*) 0 ;
23884 wxWindow
*arg2
= (wxWindow
*) 0 ;
23885 int arg3
= (int) -1 ;
23886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23890 long arg6
= (long) wxLC_REPORT
;
23891 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23892 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23893 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23894 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23898 bool temp8
= False
;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 PyObject
* obj2
= 0 ;
23902 PyObject
* obj3
= 0 ;
23903 PyObject
* obj4
= 0 ;
23904 PyObject
* obj5
= 0 ;
23905 PyObject
* obj6
= 0 ;
23906 PyObject
* obj7
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 arg3
= (int)SWIG_As_int(obj2
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23933 arg6
= (long)SWIG_As_long(obj5
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23940 if (arg7
== NULL
) {
23941 PyErr_SetString(PyExc_TypeError
,"null reference");
23947 arg8
= wxString_in_helper(obj7
);
23948 if (arg8
== NULL
) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxListView
*arg1
= (wxListView
*) 0 ;
23980 bool arg3
= (bool) True
;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 PyObject
* obj2
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self",(char *) "n",(char *) "on", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 arg2
= (long)SWIG_As_long(obj1
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 arg3
= (bool)SWIG_As_bool(obj2
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->Select(arg2
,arg3
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxListView
*arg1
= (wxListView
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "index", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 arg2
= (long)SWIG_As_long(obj1
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->Focus(arg2
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxListView
*arg1
= (wxListView
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= SWIG_From_long((long)result
);
24066 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxListView
*arg1
= (wxListView
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "item", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 arg2
= (long)SWIG_As_long(obj1
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_From_long((long)result
);
24096 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxListView
*arg1
= (wxListView
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_From_long((long)result
);
24122 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxListView
*arg1
= (wxListView
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "index", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24136 arg2
= (long)SWIG_As_long(obj1
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (bool)(arg1
)->IsSelected(arg2
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24154 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxListView
*arg1
= (wxListView
*) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 PyObject
* obj2
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self",(char *) "col",(char *) "image", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 arg2
= (int)SWIG_As_int(obj1
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24171 arg3
= (int)SWIG_As_int(obj2
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->SetColumnImage(arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxListView
*arg1
= (wxListView
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "self",(char *) "col", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 arg2
= (int)SWIG_As_int(obj1
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->ClearColumnImage(arg2
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 Py_INCREF(Py_None
); resultobj
= Py_None
;
24216 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24219 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24221 return Py_BuildValue((char *)"");
24223 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24224 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24229 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24234 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24236 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24243 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxTreeItemId
*result
;
24246 char *kwnames
[] = {
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (wxTreeItemId
*)new wxTreeItemId();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24265 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 Py_INCREF(Py_None
); resultobj
= Py_None
;
24290 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 char *kwnames
[] = {
24296 (char *) "self", NULL
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24318 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24321 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self",(char *) "other", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24350 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24353 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "other", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24382 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24385 void *arg2
= (void *) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "m_pItem", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24396 if (arg1
) (arg1
)->m_pItem
= arg2
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 result
= (void *) ((arg1
)->m_pItem
);
24419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24426 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24429 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24431 return Py_BuildValue((char *)"");
24433 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 PyObject
*arg1
= (PyObject
*) NULL
;
24436 wxPyTreeItemData
*result
;
24437 PyObject
* obj0
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "obj", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24460 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 result
= (PyObject
*)(arg1
)->GetData();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= result
;
24486 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24489 PyObject
*arg2
= (PyObject
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "obj", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 (arg1
)->SetData(arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 Py_INCREF(Py_None
); resultobj
= Py_None
;
24514 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24517 wxTreeItemId
*result
;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24530 result
= (wxTreeItemId
*) &_result_ref
;
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24543 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24546 wxTreeItemId
*arg2
= 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "id", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24559 if (arg2
== NULL
) {
24560 PyErr_SetString(PyExc_TypeError
,"null reference");
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 Py_INCREF(Py_None
); resultobj
= Py_None
;
24577 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 wxPyTreeItemData_Destroy(arg1
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 Py_INCREF(Py_None
); resultobj
= Py_None
;
24602 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24605 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24607 return Py_BuildValue((char *)"");
24609 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24612 int arg2
= (int) 0 ;
24613 wxTreeEvent
*result
;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "commandType",(char *) "id", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24622 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 arg2
= (int)SWIG_As_int(obj1
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24643 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24646 wxTreeItemId result
;
24647 PyObject
* obj0
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 wxTreeItemId
* resultptr
;
24664 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24673 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24676 wxTreeItemId
*arg2
= 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "item", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24689 if (arg2
== NULL
) {
24690 PyErr_SetString(PyExc_TypeError
,"null reference");
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 Py_INCREF(Py_None
); resultobj
= Py_None
;
24707 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24710 wxTreeItemId result
;
24711 PyObject
* obj0
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 wxTreeItemId
* resultptr
;
24728 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24737 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24740 wxTreeItemId
*arg2
= 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "item", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24753 if (arg2
== NULL
) {
24754 PyErr_SetString(PyExc_TypeError
,"null reference");
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 Py_INCREF(Py_None
); resultobj
= Py_None
;
24771 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 wxPoint
* resultptr
;
24792 resultptr
= new wxPoint((wxPoint
&) result
);
24793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24801 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24804 wxPoint
*arg2
= 0 ;
24806 PyObject
* obj0
= 0 ;
24807 PyObject
* obj1
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self",(char *) "pt", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 Py_INCREF(Py_None
); resultobj
= Py_None
;
24833 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24836 wxKeyEvent
*result
;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24849 result
= (wxKeyEvent
*) &_result_ref
;
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24862 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24866 PyObject
* obj0
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "self", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_From_int((int)result
);
24888 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24891 wxKeyEvent
*arg2
= 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "evt", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24904 if (arg2
== NULL
) {
24905 PyErr_SetString(PyExc_TypeError
,"null reference");
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 Py_INCREF(Py_None
); resultobj
= Py_None
;
24922 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24926 PyObject
* obj0
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24938 result
= (wxString
*) &_result_ref
;
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24957 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24960 wxString
*arg2
= 0 ;
24961 bool temp2
= False
;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self",(char *) "label", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 arg2
= wxString_in_helper(obj1
);
24973 if (arg2
== NULL
) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 (arg1
)->SetLabel((wxString
const &)*arg2
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 Py_INCREF(Py_None
); resultobj
= Py_None
;
24998 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25026 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self",(char *) "editCancelled", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25039 arg2
= (bool)SWIG_As_bool(obj1
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 (arg1
)->SetEditCanceled(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 Py_INCREF(Py_None
); resultobj
= Py_None
;
25055 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25058 wxString
*arg2
= 0 ;
25059 bool temp2
= False
;
25060 PyObject
* obj0
= 0 ;
25061 PyObject
* obj1
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "toolTip", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 arg2
= wxString_in_helper(obj1
);
25071 if (arg2
== NULL
) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 Py_INCREF(Py_None
); resultobj
= Py_None
;
25096 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25099 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25101 return Py_BuildValue((char *)"");
25103 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxWindow
*arg1
= (wxWindow
*) 0 ;
25106 int arg2
= (int) -1 ;
25107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25111 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25112 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25113 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25114 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25115 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25116 wxPyTreeCtrl
*result
;
25119 bool temp7
= False
;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 PyObject
* obj2
= 0 ;
25123 PyObject
* obj3
= 0 ;
25124 PyObject
* obj4
= 0 ;
25125 PyObject
* obj5
= 0 ;
25126 PyObject
* obj6
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 arg2
= (int)SWIG_As_int(obj1
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25151 arg5
= (long)SWIG_As_long(obj4
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25158 if (arg6
== NULL
) {
25159 PyErr_SetString(PyExc_TypeError
,"null reference");
25165 arg7
= wxString_in_helper(obj6
);
25166 if (arg7
== NULL
) SWIG_fail
;
25171 if (!wxPyCheckForApp()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25193 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxPyTreeCtrl
*result
;
25196 char *kwnames
[] = {
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25202 if (!wxPyCheckForApp()) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25216 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25219 wxWindow
*arg2
= (wxWindow
*) 0 ;
25220 int arg3
= (int) -1 ;
25221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25225 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25226 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25227 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25228 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25229 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25233 bool temp8
= False
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 PyObject
* obj3
= 0 ;
25238 PyObject
* obj4
= 0 ;
25239 PyObject
* obj5
= 0 ;
25240 PyObject
* obj6
= 0 ;
25241 PyObject
* obj7
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 arg3
= (int)SWIG_As_int(obj2
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25268 arg6
= (long)SWIG_As_long(obj5
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25272 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25275 if (arg7
== NULL
) {
25276 PyErr_SetString(PyExc_TypeError
,"null reference");
25282 arg8
= wxString_in_helper(obj7
);
25283 if (arg8
== NULL
) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25311 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25314 PyObject
*arg2
= (PyObject
*) 0 ;
25315 PyObject
*arg3
= (PyObject
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 PyObject
* obj2
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "self",(char *) "_class", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25368 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25371 unsigned int result
;
25372 PyObject
* obj0
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25394 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25397 unsigned int arg2
;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self",(char *) "indent", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25407 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->SetIndent(arg2
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 Py_INCREF(Py_None
); resultobj
= Py_None
;
25423 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25426 unsigned int result
;
25427 PyObject
* obj0
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25449 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25452 unsigned int arg2
;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "spacing", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->SetSpacing(arg2
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25478 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25481 wxImageList
*result
;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= wxPyMake_wxObject(result
, 0);
25506 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25509 wxImageList
*result
;
25510 PyObject
* obj0
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= wxPyMake_wxObject(result
, 0);
25534 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25537 wxImageList
*arg2
= (wxImageList
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "imageList", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->SetImageList(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 Py_INCREF(Py_None
); resultobj
= Py_None
;
25563 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25566 wxImageList
*arg2
= (wxImageList
*) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "imageList", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->SetStateImageList(arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 Py_INCREF(Py_None
); resultobj
= Py_None
;
25592 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxImageList
*arg2
= (wxImageList
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "imageList", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25606 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->AssignImageList(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 Py_INCREF(Py_None
); resultobj
= Py_None
;
25621 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25624 wxImageList
*arg2
= (wxImageList
*) 0 ;
25625 PyObject
* obj0
= 0 ;
25626 PyObject
* obj1
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self",(char *) "imageList", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25635 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 (arg1
)->AssignStateImageList(arg2
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 Py_INCREF(Py_None
); resultobj
= Py_None
;
25650 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25653 wxTreeItemId
*arg2
= 0 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self",(char *) "item", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25667 if (arg2
== NULL
) {
25668 PyErr_SetString(PyExc_TypeError
,"null reference");
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25691 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25694 wxTreeItemId
*arg2
= 0 ;
25695 int arg3
= (int) wxTreeItemIcon_Normal
;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 PyObject
* obj2
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self",(char *) "item",(char *) "which", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25710 if (arg2
== NULL
) {
25711 PyErr_SetString(PyExc_TypeError
,"null reference");
25715 arg3
= (int)SWIG_As_int(obj2
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= SWIG_From_int((int)result
);
25732 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25735 wxTreeItemId
*arg2
= 0 ;
25736 wxPyTreeItemData
*result
;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "item", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25749 if (arg2
== NULL
) {
25750 PyErr_SetString(PyExc_TypeError
,"null reference");
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25767 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 wxTreeItemId
*arg2
= 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "item", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25784 if (arg2
== NULL
) {
25785 PyErr_SetString(PyExc_TypeError
,"null reference");
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= result
;
25802 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25805 wxTreeItemId
*arg2
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "item", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25819 if (arg2
== NULL
) {
25820 PyErr_SetString(PyExc_TypeError
,"null reference");
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25831 wxColour
* resultptr
;
25832 resultptr
= new wxColour((wxColour
&) result
);
25833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25841 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25844 wxTreeItemId
*arg2
= 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "item", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25858 if (arg2
== NULL
) {
25859 PyErr_SetString(PyExc_TypeError
,"null reference");
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25870 wxColour
* resultptr
;
25871 resultptr
= new wxColour((wxColour
&) result
);
25872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25880 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25883 wxTreeItemId
*arg2
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "item", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25897 if (arg2
== NULL
) {
25898 PyErr_SetString(PyExc_TypeError
,"null reference");
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25909 wxFont
* resultptr
;
25910 resultptr
= new wxFont((wxFont
&) result
);
25911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25919 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25922 wxTreeItemId
*arg2
= 0 ;
25923 wxString
*arg3
= 0 ;
25924 bool temp3
= False
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25928 char *kwnames
[] = {
25929 (char *) "self",(char *) "item",(char *) "text", NULL
25932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25938 if (arg2
== NULL
) {
25939 PyErr_SetString(PyExc_TypeError
,"null reference");
25943 arg3
= wxString_in_helper(obj2
);
25944 if (arg3
== NULL
) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25969 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25972 wxTreeItemId
*arg2
= 0 ;
25974 int arg4
= (int) wxTreeItemIcon_Normal
;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 PyObject
* obj2
= 0 ;
25978 PyObject
* obj3
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25989 if (arg2
== NULL
) {
25990 PyErr_SetString(PyExc_TypeError
,"null reference");
25993 arg3
= (int)SWIG_As_int(obj2
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 arg4
= (int)SWIG_As_int(obj3
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26016 wxTreeItemId
*arg2
= 0 ;
26017 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 PyObject
* obj2
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "item",(char *) "data", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26031 if (arg2
== NULL
) {
26032 PyErr_SetString(PyExc_TypeError
,"null reference");
26035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 Py_INCREF(Py_None
); resultobj
= Py_None
;
26051 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26054 wxTreeItemId
*arg2
= 0 ;
26055 PyObject
*arg3
= (PyObject
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 PyObject
* obj2
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "item",(char *) "obj", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26069 if (arg2
== NULL
) {
26070 PyErr_SetString(PyExc_TypeError
,"null reference");
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 Py_INCREF(Py_None
); resultobj
= Py_None
;
26088 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26091 wxTreeItemId
*arg2
= 0 ;
26092 bool arg3
= (bool) True
;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 PyObject
* obj2
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self",(char *) "item",(char *) "has", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26106 if (arg2
== NULL
) {
26107 PyErr_SetString(PyExc_TypeError
,"null reference");
26111 arg3
= (bool)SWIG_As_bool(obj2
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26131 wxTreeItemId
*arg2
= 0 ;
26132 bool arg3
= (bool) True
;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 PyObject
* obj2
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "item",(char *) "bold", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26146 if (arg2
== NULL
) {
26147 PyErr_SetString(PyExc_TypeError
,"null reference");
26151 arg3
= (bool)SWIG_As_bool(obj2
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 Py_INCREF(Py_None
); resultobj
= Py_None
;
26168 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26171 wxTreeItemId
*arg2
= 0 ;
26172 wxColour
*arg3
= 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self",(char *) "item",(char *) "col", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26187 if (arg2
== NULL
) {
26188 PyErr_SetString(PyExc_TypeError
,"null reference");
26193 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26212 wxTreeItemId
*arg2
= 0 ;
26213 wxColour
*arg3
= 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "item",(char *) "col", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26228 if (arg2
== NULL
) {
26229 PyErr_SetString(PyExc_TypeError
,"null reference");
26234 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26253 wxTreeItemId
*arg2
= 0 ;
26255 PyObject
* obj0
= 0 ;
26256 PyObject
* obj1
= 0 ;
26257 PyObject
* obj2
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self",(char *) "item",(char *) "font", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26268 if (arg2
== NULL
) {
26269 PyErr_SetString(PyExc_TypeError
,"null reference");
26272 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26275 if (arg3
== NULL
) {
26276 PyErr_SetString(PyExc_TypeError
,"null reference");
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 Py_INCREF(Py_None
); resultobj
= Py_None
;
26293 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
;
26295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26296 wxTreeItemId
*arg2
= 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "item", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26330 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26333 wxTreeItemId
*arg2
= 0 ;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "item", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26347 if (arg2
== NULL
) {
26348 PyErr_SetString(PyExc_TypeError
,"null reference");
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26367 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26370 wxTreeItemId
*arg2
= 0 ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self",(char *) "item", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26384 if (arg2
== NULL
) {
26385 PyErr_SetString(PyExc_TypeError
,"null reference");
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26404 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26407 wxTreeItemId
*arg2
= 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "item", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26421 if (arg2
== NULL
) {
26422 PyErr_SetString(PyExc_TypeError
,"null reference");
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26441 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26444 wxTreeItemId
*arg2
= 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "item", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26458 if (arg2
== NULL
) {
26459 PyErr_SetString(PyExc_TypeError
,"null reference");
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26478 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
;
26480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26481 wxTreeItemId
*arg2
= 0 ;
26482 bool arg3
= (bool) True
;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "item",(char *) "recursively", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26497 if (arg2
== NULL
) {
26498 PyErr_SetString(PyExc_TypeError
,"null reference");
26502 arg3
= (bool)SWIG_As_bool(obj2
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26519 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26522 wxTreeItemId result
;
26523 PyObject
* obj0
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 wxTreeItemId
* resultptr
;
26540 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26549 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26552 wxTreeItemId result
;
26553 PyObject
* obj0
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxTreeItemId
* resultptr
;
26570 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26579 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
;
26605 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26608 wxTreeItemId
*arg2
= 0 ;
26609 wxTreeItemId result
;
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_GetItemParent",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
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 wxTreeItemId
* resultptr
;
26635 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26644 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26647 wxTreeItemId
*arg2
= 0 ;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "item", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
;
26679 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26682 wxTreeItemId
*arg2
= 0 ;
26683 void *arg3
= (void *) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 PyObject
* obj2
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self",(char *) "item",(char *) "cookie", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26698 if (arg2
== NULL
) {
26699 PyErr_SetString(PyExc_TypeError
,"null reference");
26702 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= result
;
26717 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26720 wxTreeItemId
*arg2
= 0 ;
26721 wxTreeItemId result
;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 char *kwnames
[] = {
26725 (char *) "self",(char *) "item", NULL
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26734 if (arg2
== NULL
) {
26735 PyErr_SetString(PyExc_TypeError
,"null reference");
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 wxTreeItemId
* resultptr
;
26747 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26756 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26759 wxTreeItemId
*arg2
= 0 ;
26760 wxTreeItemId result
;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "item", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26773 if (arg2
== NULL
) {
26774 PyErr_SetString(PyExc_TypeError
,"null reference");
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 wxTreeItemId
* resultptr
;
26786 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26795 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26798 wxTreeItemId
*arg2
= 0 ;
26799 wxTreeItemId result
;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "item", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26812 if (arg2
== NULL
) {
26813 PyErr_SetString(PyExc_TypeError
,"null reference");
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 wxTreeItemId
* resultptr
;
26825 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26834 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26837 wxTreeItemId result
;
26838 PyObject
* obj0
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 wxTreeItemId
* resultptr
;
26855 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26864 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26867 wxTreeItemId
*arg2
= 0 ;
26868 wxTreeItemId result
;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "item", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26881 if (arg2
== NULL
) {
26882 PyErr_SetString(PyExc_TypeError
,"null reference");
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26893 wxTreeItemId
* resultptr
;
26894 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26903 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26906 wxTreeItemId
*arg2
= 0 ;
26907 wxTreeItemId result
;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "item", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26920 if (arg2
== NULL
) {
26921 PyErr_SetString(PyExc_TypeError
,"null reference");
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 wxTreeItemId
* resultptr
;
26933 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26942 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26945 wxString
*arg2
= 0 ;
26946 int arg3
= (int) -1 ;
26947 int arg4
= (int) -1 ;
26948 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26949 wxTreeItemId result
;
26950 bool temp2
= False
;
26951 PyObject
* obj0
= 0 ;
26952 PyObject
* obj1
= 0 ;
26953 PyObject
* obj2
= 0 ;
26954 PyObject
* obj3
= 0 ;
26955 PyObject
* obj4
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26964 arg2
= wxString_in_helper(obj1
);
26965 if (arg2
== NULL
) SWIG_fail
;
26969 arg3
= (int)SWIG_As_int(obj2
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 arg4
= (int)SWIG_As_int(obj3
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
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);
27006 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27009 wxTreeItemId
*arg2
= 0 ;
27010 wxString
*arg3
= 0 ;
27011 int arg4
= (int) -1 ;
27012 int arg5
= (int) -1 ;
27013 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27014 wxTreeItemId result
;
27015 bool temp3
= False
;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 PyObject
* obj2
= 0 ;
27019 PyObject
* obj3
= 0 ;
27020 PyObject
* obj4
= 0 ;
27021 PyObject
* obj5
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27032 if (arg2
== NULL
) {
27033 PyErr_SetString(PyExc_TypeError
,"null reference");
27037 arg3
= wxString_in_helper(obj2
);
27038 if (arg3
== NULL
) SWIG_fail
;
27042 arg4
= (int)SWIG_As_int(obj3
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27046 arg5
= (int)SWIG_As_int(obj4
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 wxTreeItemId
* resultptr
;
27062 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27079 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27082 wxTreeItemId
*arg2
= 0 ;
27083 wxTreeItemId
*arg3
= 0 ;
27084 wxString
*arg4
= 0 ;
27085 int arg5
= (int) -1 ;
27086 int arg6
= (int) -1 ;
27087 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27088 wxTreeItemId result
;
27089 bool temp4
= False
;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 PyObject
* obj3
= 0 ;
27094 PyObject
* obj4
= 0 ;
27095 PyObject
* obj5
= 0 ;
27096 PyObject
* obj6
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27107 if (arg2
== NULL
) {
27108 PyErr_SetString(PyExc_TypeError
,"null reference");
27111 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27114 if (arg3
== NULL
) {
27115 PyErr_SetString(PyExc_TypeError
,"null reference");
27119 arg4
= wxString_in_helper(obj3
);
27120 if (arg4
== NULL
) SWIG_fail
;
27124 arg5
= (int)SWIG_As_int(obj4
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 arg6
= (int)SWIG_As_int(obj5
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 wxTreeItemId
* resultptr
;
27144 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27161 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27164 wxTreeItemId
*arg2
= 0 ;
27166 wxString
*arg4
= 0 ;
27167 int arg5
= (int) -1 ;
27168 int arg6
= (int) -1 ;
27169 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27170 wxTreeItemId result
;
27171 bool temp4
= False
;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 PyObject
* obj2
= 0 ;
27175 PyObject
* obj3
= 0 ;
27176 PyObject
* obj4
= 0 ;
27177 PyObject
* obj5
= 0 ;
27178 PyObject
* obj6
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27189 if (arg2
== NULL
) {
27190 PyErr_SetString(PyExc_TypeError
,"null reference");
27193 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 arg4
= wxString_in_helper(obj3
);
27197 if (arg4
== NULL
) SWIG_fail
;
27201 arg5
= (int)SWIG_As_int(obj4
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 arg6
= (int)SWIG_As_int(obj5
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 wxTreeItemId
* resultptr
;
27221 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27238 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27241 wxTreeItemId
*arg2
= 0 ;
27242 wxString
*arg3
= 0 ;
27243 int arg4
= (int) -1 ;
27244 int arg5
= (int) -1 ;
27245 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27246 wxTreeItemId result
;
27247 bool temp3
= False
;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 PyObject
* obj2
= 0 ;
27251 PyObject
* obj3
= 0 ;
27252 PyObject
* obj4
= 0 ;
27253 PyObject
* obj5
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27264 if (arg2
== NULL
) {
27265 PyErr_SetString(PyExc_TypeError
,"null reference");
27269 arg3
= wxString_in_helper(obj2
);
27270 if (arg3
== NULL
) SWIG_fail
;
27274 arg4
= (int)SWIG_As_int(obj3
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27278 arg5
= (int)SWIG_As_int(obj4
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27282 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 wxTreeItemId
* resultptr
;
27294 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27311 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27314 wxTreeItemId
*arg2
= 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self",(char *) "item", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27327 if (arg2
== NULL
) {
27328 PyErr_SetString(PyExc_TypeError
,"null reference");
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 Py_INCREF(Py_None
); resultobj
= Py_None
;
27345 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27348 wxTreeItemId
*arg2
= 0 ;
27349 PyObject
* obj0
= 0 ;
27350 PyObject
* obj1
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self",(char *) "item", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27361 if (arg2
== NULL
) {
27362 PyErr_SetString(PyExc_TypeError
,"null reference");
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 Py_INCREF(Py_None
); resultobj
= Py_None
;
27379 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27382 PyObject
* obj0
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 (arg1
)->DeleteAllItems();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 Py_INCREF(Py_None
); resultobj
= Py_None
;
27404 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27407 wxTreeItemId
*arg2
= 0 ;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 char *kwnames
[] = {
27411 (char *) "self",(char *) "item", NULL
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27420 if (arg2
== NULL
) {
27421 PyErr_SetString(PyExc_TypeError
,"null reference");
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27441 wxTreeItemId
*arg2
= 0 ;
27442 PyObject
* obj0
= 0 ;
27443 PyObject
* obj1
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self",(char *) "item", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27454 if (arg2
== NULL
) {
27455 PyErr_SetString(PyExc_TypeError
,"null reference");
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27475 wxTreeItemId
*arg2
= 0 ;
27476 PyObject
* obj0
= 0 ;
27477 PyObject
* obj1
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self",(char *) "item", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27488 if (arg2
== NULL
) {
27489 PyErr_SetString(PyExc_TypeError
,"null reference");
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 Py_INCREF(Py_None
); resultobj
= Py_None
;
27506 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27509 wxTreeItemId
*arg2
= 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "item", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27522 if (arg2
== NULL
) {
27523 PyErr_SetString(PyExc_TypeError
,"null reference");
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 Py_INCREF(Py_None
); resultobj
= Py_None
;
27540 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 (arg1
)->Unselect();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27568 wxTreeItemId
*arg2
= 0 ;
27569 PyObject
* obj0
= 0 ;
27570 PyObject
* obj1
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "item", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27581 if (arg2
== NULL
) {
27582 PyErr_SetString(PyExc_TypeError
,"null reference");
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 (arg1
)->UnselectAll();
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27627 wxTreeItemId
*arg2
= 0 ;
27628 bool arg3
= (bool) True
;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 PyObject
* obj2
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "item",(char *) "select", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27642 if (arg2
== NULL
) {
27643 PyErr_SetString(PyExc_TypeError
,"null reference");
27647 arg3
= (bool)SWIG_As_bool(obj2
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27667 wxTreeItemId
*arg2
= 0 ;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "item", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27680 if (arg2
== NULL
) {
27681 PyErr_SetString(PyExc_TypeError
,"null reference");
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27701 wxTreeItemId
*arg2
= 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "item", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27714 if (arg2
== NULL
) {
27715 PyErr_SetString(PyExc_TypeError
,"null reference");
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 Py_INCREF(Py_None
); resultobj
= Py_None
;
27732 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27735 wxTreeItemId
*arg2
= 0 ;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self",(char *) "item", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27748 if (arg2
== NULL
) {
27749 PyErr_SetString(PyExc_TypeError
,"null reference");
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 Py_INCREF(Py_None
); resultobj
= Py_None
;
27766 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27769 wxTreeItemId
*arg2
= 0 ;
27770 PyObject
* obj0
= 0 ;
27771 PyObject
* obj1
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self",(char *) "item", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27782 if (arg2
== NULL
) {
27783 PyErr_SetString(PyExc_TypeError
,"null reference");
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27803 wxTextCtrl
*result
;
27804 PyObject
* obj0
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "self", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= wxPyMake_wxObject(result
, 0);
27828 static PyObject
*_wrap_TreeCtrl_SortChildren(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_SortChildren",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
)->SortChildren((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_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27865 wxPoint
*arg2
= 0 ;
27867 wxTreeItemId result
;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self",(char *) "point", NULL
27877 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 wxTreeItemId
* resultptr
;
27894 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27897 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27898 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27905 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27908 wxTreeItemId
*arg2
= 0 ;
27909 bool arg3
= (bool) False
;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 PyObject
* obj2
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27924 if (arg2
== NULL
) {
27925 PyErr_SetString(PyExc_TypeError
,"null reference");
27929 arg3
= (bool)SWIG_As_bool(obj2
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= result
;
27946 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27949 wxVisualAttributes result
;
27950 PyObject
* obj0
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "variant", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27957 arg1
= (int)SWIG_As_int(obj0
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 if (!wxPyCheckForApp()) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 wxVisualAttributes
* resultptr
;
27970 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27979 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
27981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27982 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27984 return Py_BuildValue((char *)"");
27986 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
27987 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27992 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27997 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27999 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28006 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxWindow
*arg1
= (wxWindow
*) 0 ;
28009 int arg2
= (int) (int)-1 ;
28010 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28016 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28017 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28019 int arg8
= (int) 0 ;
28020 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28021 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28022 wxGenericDirCtrl
*result
;
28023 bool temp3
= False
;
28026 bool temp7
= False
;
28027 bool temp9
= False
;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 PyObject
* obj2
= 0 ;
28031 PyObject
* obj3
= 0 ;
28032 PyObject
* obj4
= 0 ;
28033 PyObject
* obj5
= 0 ;
28034 PyObject
* obj6
= 0 ;
28035 PyObject
* obj7
= 0 ;
28036 PyObject
* obj8
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 arg2
= (int)SWIG_As_int(obj1
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28050 arg3
= wxString_in_helper(obj2
);
28051 if (arg3
== NULL
) SWIG_fail
;
28058 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28064 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28068 arg6
= (long)SWIG_As_long(obj5
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28073 arg7
= wxString_in_helper(obj6
);
28074 if (arg7
== NULL
) SWIG_fail
;
28079 arg8
= (int)SWIG_As_int(obj7
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28084 arg9
= wxString_in_helper(obj8
);
28085 if (arg9
== NULL
) SWIG_fail
;
28090 if (!wxPyCheckForApp()) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28128 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxGenericDirCtrl
*result
;
28131 char *kwnames
[] = {
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28137 if (!wxPyCheckForApp()) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28151 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28154 wxWindow
*arg2
= (wxWindow
*) 0 ;
28155 int arg3
= (int) (int)-1 ;
28156 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28162 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28163 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28164 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28165 int arg9
= (int) 0 ;
28166 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28167 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28169 bool temp4
= False
;
28172 bool temp8
= False
;
28173 bool temp10
= False
;
28174 PyObject
* obj0
= 0 ;
28175 PyObject
* obj1
= 0 ;
28176 PyObject
* obj2
= 0 ;
28177 PyObject
* obj3
= 0 ;
28178 PyObject
* obj4
= 0 ;
28179 PyObject
* obj5
= 0 ;
28180 PyObject
* obj6
= 0 ;
28181 PyObject
* obj7
= 0 ;
28182 PyObject
* obj8
= 0 ;
28183 PyObject
* obj9
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 arg3
= (int)SWIG_As_int(obj2
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28199 arg4
= wxString_in_helper(obj3
);
28200 if (arg4
== NULL
) SWIG_fail
;
28207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28217 arg7
= (long)SWIG_As_long(obj6
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28222 arg8
= wxString_in_helper(obj7
);
28223 if (arg8
== NULL
) SWIG_fail
;
28228 arg9
= (int)SWIG_As_int(obj8
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28233 arg10
= wxString_in_helper(obj9
);
28234 if (arg10
== NULL
) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28278 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28281 wxString
*arg2
= 0 ;
28283 bool temp2
= False
;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "path", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 arg2
= wxString_in_helper(obj1
);
28295 if (arg2
== NULL
) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28322 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28354 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28357 wxString
*arg2
= 0 ;
28358 bool temp2
= False
;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self",(char *) "path", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28369 arg2
= wxString_in_helper(obj1
);
28370 if (arg2
== NULL
) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 Py_INCREF(Py_None
); resultobj
= Py_None
;
28395 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28399 PyObject
* obj0
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28427 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28431 PyObject
* obj0
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28459 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28462 wxString
*arg2
= 0 ;
28463 bool temp2
= False
;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char *kwnames
[] = {
28467 (char *) "self",(char *) "path", NULL
28470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28474 arg2
= wxString_in_helper(obj1
);
28475 if (arg2
== NULL
) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->SetPath((wxString
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self",(char *) "show", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 arg2
= (bool)SWIG_As_bool(obj1
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 (arg1
)->ShowHidden(arg2
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 Py_INCREF(Py_None
); resultobj
= Py_None
;
28529 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28533 PyObject
* obj0
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (bool)(arg1
)->GetShowHidden();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28589 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28592 wxString
*arg2
= 0 ;
28593 bool temp2
= False
;
28594 PyObject
* obj0
= 0 ;
28595 PyObject
* obj1
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self",(char *) "filter", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 arg2
= wxString_in_helper(obj1
);
28605 if (arg2
== NULL
) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 (arg1
)->SetFilter((wxString
const &)*arg2
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 Py_INCREF(Py_None
); resultobj
= Py_None
;
28630 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28634 PyObject
* obj0
= 0 ;
28635 char *kwnames
[] = {
28636 (char *) "self", NULL
28639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_From_int((int)result
);
28656 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "n", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28669 arg2
= (int)SWIG_As_int(obj1
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 (arg1
)->SetFilterIndex(arg2
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 Py_INCREF(Py_None
); resultobj
= Py_None
;
28685 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28688 wxTreeItemId result
;
28689 PyObject
* obj0
= 0 ;
28690 char *kwnames
[] = {
28691 (char *) "self", NULL
28694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= (arg1
)->GetRootId();
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28705 wxTreeItemId
* resultptr
;
28706 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28715 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28718 wxPyTreeCtrl
*result
;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= wxPyMake_wxObject(result
, 0);
28743 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28746 wxDirFilterListCtrl
*result
;
28747 PyObject
* obj0
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28769 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28772 wxTreeItemId arg2
;
28773 wxString
*arg3
= 0 ;
28775 wxTreeItemId result
;
28776 wxTreeItemId
*argp2
;
28777 bool temp3
= False
;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 PyObject
* obj2
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "parentId",(char *) "path", NULL
28787 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28791 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28792 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28795 arg3
= wxString_in_helper(obj2
);
28796 if (arg3
== NULL
) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28807 wxTreeItemId
* resultptr
;
28808 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28811 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
28812 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
28827 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 (arg1
)->DoResize();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 Py_INCREF(Py_None
); resultobj
= Py_None
;
28852 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 (arg1
)->ReCreateTree();
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 Py_INCREF(Py_None
); resultobj
= Py_None
;
28877 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
28879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28880 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28882 return Py_BuildValue((char *)"");
28884 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
;
28886 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28887 int arg2
= (int) (int)-1 ;
28888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28892 long arg5
= (long) 0 ;
28893 wxDirFilterListCtrl
*result
;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 PyObject
* obj2
= 0 ;
28899 PyObject
* obj3
= 0 ;
28900 PyObject
* obj4
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28909 arg2
= (int)SWIG_As_int(obj1
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28925 arg5
= (long)SWIG_As_long(obj4
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 if (!wxPyCheckForApp()) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28943 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxDirFilterListCtrl
*result
;
28946 char *kwnames
[] = {
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28952 if (!wxPyCheckForApp()) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28966 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28969 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28970 int arg3
= (int) (int)-1 ;
28971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28975 long arg6
= (long) 0 ;
28979 PyObject
* obj0
= 0 ;
28980 PyObject
* obj1
= 0 ;
28981 PyObject
* obj2
= 0 ;
28982 PyObject
* obj3
= 0 ;
28983 PyObject
* obj4
= 0 ;
28984 PyObject
* obj5
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28995 arg3
= (int)SWIG_As_int(obj2
);
28996 if (PyErr_Occurred()) SWIG_fail
;
29001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29011 arg6
= (long)SWIG_As_long(obj5
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29030 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29033 wxString
*arg2
= 0 ;
29035 bool temp2
= False
;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29047 arg2
= wxString_in_helper(obj1
);
29048 if (arg2
== NULL
) SWIG_fail
;
29051 arg3
= (int)SWIG_As_int(obj2
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29075 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29078 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29080 return Py_BuildValue((char *)"");
29082 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxWindow
*arg1
= (wxWindow
*) 0 ;
29085 int arg2
= (int) (int)-1 ;
29086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29090 long arg5
= (long) 0 ;
29091 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29092 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29093 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29095 wxPyControl
*result
;
29098 bool temp7
= False
;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 PyObject
* obj3
= 0 ;
29103 PyObject
* obj4
= 0 ;
29104 PyObject
* obj5
= 0 ;
29105 PyObject
* obj6
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 arg2
= (int)SWIG_As_int(obj1
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29126 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29130 arg5
= (long)SWIG_As_long(obj4
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29134 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29137 if (arg6
== NULL
) {
29138 PyErr_SetString(PyExc_TypeError
,"null reference");
29144 arg7
= wxString_in_helper(obj6
);
29145 if (arg7
== NULL
) SWIG_fail
;
29150 if (!wxPyCheckForApp()) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29172 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxPyControl
*result
;
29175 char *kwnames
[] = {
29179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29181 if (!wxPyCheckForApp()) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= (wxPyControl
*)new wxPyControl();
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29195 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29198 PyObject
*arg2
= (PyObject
*) 0 ;
29199 PyObject
*arg3
= (PyObject
*) 0 ;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 PyObject
* obj2
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "self",(char *) "_class", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 Py_INCREF(Py_None
); resultobj
= Py_None
;
29226 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "self",(char *) "size", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29242 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29265 PyObject
* obj0
= 0 ;
29266 PyObject
* obj1
= 0 ;
29267 PyObject
* obj2
= 0 ;
29268 PyObject
* obj3
= 0 ;
29269 PyObject
* obj4
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29277 arg2
= (int)SWIG_As_int(obj1
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29279 arg3
= (int)SWIG_As_int(obj2
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29281 arg4
= (int)SWIG_As_int(obj3
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29283 arg5
= (int)SWIG_As_int(obj4
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29299 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29306 int arg6
= (int) wxSIZE_AUTO
;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 PyObject
* obj2
= 0 ;
29310 PyObject
* obj3
= 0 ;
29311 PyObject
* obj4
= 0 ;
29312 PyObject
* obj5
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29320 arg2
= (int)SWIG_As_int(obj1
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29322 arg3
= (int)SWIG_As_int(obj2
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29324 arg4
= (int)SWIG_As_int(obj3
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29326 arg5
= (int)SWIG_As_int(obj4
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 arg6
= (int)SWIG_As_int(obj5
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29339 Py_INCREF(Py_None
); resultobj
= Py_None
;
29346 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29347 PyObject
*resultobj
;
29348 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 PyObject
* obj2
= 0 ;
29354 char *kwnames
[] = {
29355 (char *) "self",(char *) "width",(char *) "height", NULL
29358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29361 arg2
= (int)SWIG_As_int(obj1
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29363 arg3
= (int)SWIG_As_int(obj2
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 Py_INCREF(Py_None
); resultobj
= Py_None
;
29379 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 char *kwnames
[] = {
29388 (char *) "self",(char *) "x",(char *) "y", NULL
29391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29394 arg2
= (int)SWIG_As_int(obj1
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29396 arg3
= (int)SWIG_As_int(obj2
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29405 Py_INCREF(Py_None
); resultobj
= Py_None
;
29412 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29415 int *arg2
= (int *) 0 ;
29416 int *arg3
= (int *) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "self", NULL
29426 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29427 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 Py_INCREF(Py_None
); resultobj
= Py_None
;
29439 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29440 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29441 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29442 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29449 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
;
29451 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29452 int *arg2
= (int *) 0 ;
29453 int *arg3
= (int *) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self", NULL
29463 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29464 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29476 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29477 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29478 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29479 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29486 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29489 int *arg2
= (int *) 0 ;
29490 int *arg3
= (int *) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self", NULL
29500 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29501 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29512 Py_INCREF(Py_None
); resultobj
= Py_None
;
29513 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29514 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29515 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29516 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29523 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29527 PyObject
* obj0
= 0 ;
29528 char *kwnames
[] = {
29529 (char *) "self", NULL
29532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29543 wxSize
* resultptr
;
29544 resultptr
= new wxSize((wxSize
&) result
);
29545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29553 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29554 PyObject
*resultobj
;
29555 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29557 PyObject
* obj0
= 0 ;
29558 char *kwnames
[] = {
29559 (char *) "self", NULL
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 wxSize
* resultptr
;
29574 resultptr
= new wxSize((wxSize
&) result
);
29575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29583 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29586 PyObject
* obj0
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 (arg1
)->base_InitDialog();
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 Py_INCREF(Py_None
); resultobj
= Py_None
;
29608 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29612 PyObject
* obj0
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "self", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)(arg1
)->base_TransferDataToWindow();
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29636 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (bool)(arg1
)->base_Validate();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29692 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29696 PyObject
* obj0
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self", NULL
29701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29720 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
;
29722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29748 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29752 PyObject
* obj0
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 wxSize
* resultptr
;
29769 resultptr
= new wxSize((wxSize
&) result
);
29770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29778 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29781 wxWindow
*arg2
= (wxWindow
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self",(char *) "child", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 (arg1
)->base_AddChild(arg2
);
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29800 Py_INCREF(Py_None
); resultobj
= Py_None
;
29807 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29810 wxWindow
*arg2
= (wxWindow
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "child", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 (arg1
)->base_RemoveChild(arg2
);
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 Py_INCREF(Py_None
); resultobj
= Py_None
;
29836 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29864 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29867 wxColour
*arg2
= 0 ;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self",(char *) "c", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 Py_INCREF(Py_None
); resultobj
= Py_None
;
29896 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29899 wxVisualAttributes result
;
29900 PyObject
* obj0
= 0 ;
29901 char *kwnames
[] = {
29902 (char *) "self", NULL
29905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (arg1
)->base_GetDefaultAttributes();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 wxVisualAttributes
* resultptr
;
29917 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29926 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
29928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29929 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29931 return Py_BuildValue((char *)"");
29933 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29936 int arg2
= (int) 0 ;
29937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29939 wxHelpEvent
*result
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 PyObject
* obj2
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "type",(char *) "winid",(char *) "pt", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29950 arg1
= (wxEventType
)SWIG_As_int(obj0
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29954 arg2
= (int)SWIG_As_int(obj1
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29977 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
;
29979 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 char *kwnames
[] = {
29983 (char *) "self", NULL
29986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29997 wxPoint
* resultptr
;
29998 resultptr
= new wxPoint((wxPoint
&) result
);
29999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30007 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30010 wxPoint
*arg2
= 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "self",(char *) "pos", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 Py_INCREF(Py_None
); resultobj
= Py_None
;
30039 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
;
30041 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30043 PyObject
* obj0
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30055 result
= (wxString
*) &_result_ref
;
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30074 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
;
30076 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30077 wxString
*arg2
= 0 ;
30078 bool temp2
= False
;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "link", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30089 arg2
= wxString_in_helper(obj1
);
30090 if (arg2
== NULL
) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 (arg1
)->SetLink((wxString
const &)*arg2
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 Py_INCREF(Py_None
); resultobj
= Py_None
;
30115 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 char *kwnames
[] = {
30121 (char *) "self", NULL
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30131 result
= (wxString
*) &_result_ref
;
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30141 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30150 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30153 wxString
*arg2
= 0 ;
30154 bool temp2
= False
;
30155 PyObject
* obj0
= 0 ;
30156 PyObject
* obj1
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self",(char *) "target", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30165 arg2
= wxString_in_helper(obj1
);
30166 if (arg2
== NULL
) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 (arg1
)->SetTarget((wxString
const &)*arg2
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 Py_INCREF(Py_None
); resultobj
= Py_None
;
30191 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30194 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30196 return Py_BuildValue((char *)"");
30198 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
;
30200 wxWindow
*arg1
= (wxWindow
*) NULL
;
30201 bool arg2
= (bool) True
;
30202 wxContextHelp
*result
;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 char *kwnames
[] = {
30206 (char *) "window",(char *) "doNow", NULL
30209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 arg2
= (bool)SWIG_As_bool(obj1
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30219 if (!wxPyCheckForApp()) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30233 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
;
30235 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 Py_INCREF(Py_None
); resultobj
= Py_None
;
30258 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
;
30260 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30261 wxWindow
*arg2
= (wxWindow
*) NULL
;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 char *kwnames
[] = {
30266 (char *) "self",(char *) "window", NULL
30269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30292 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30296 PyObject
* obj0
= 0 ;
30297 char *kwnames
[] = {
30298 (char *) "self", NULL
30301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)(arg1
)->EndContextHelp();
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30320 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30323 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30325 return Py_BuildValue((char *)"");
30327 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
;
30329 wxWindow
*arg1
= (wxWindow
*) 0 ;
30330 int arg2
= (int) wxID_CONTEXT_HELP
;
30331 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30332 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30333 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30334 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30335 long arg5
= (long) wxBU_AUTODRAW
;
30336 wxContextHelpButton
*result
;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 PyObject
* obj3
= 0 ;
30343 PyObject
* obj4
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 arg2
= (int)SWIG_As_int(obj1
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30368 arg5
= (long)SWIG_As_long(obj4
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30372 if (!wxPyCheckForApp()) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30386 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30389 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30391 return Py_BuildValue((char *)"");
30393 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
;
30395 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30396 wxHelpProvider
*result
;
30397 PyObject
* obj0
= 0 ;
30398 char *kwnames
[] = {
30399 (char *) "helpProvider", NULL
30402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30419 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxHelpProvider
*result
;
30422 char *kwnames
[] = {
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30441 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
;
30443 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30444 wxWindow
*arg2
= (wxWindow
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "window", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30477 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
;
30479 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30480 wxWindow
*arg2
= (wxWindow
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self",(char *) "window", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (bool)(arg1
)->ShowHelp(arg2
);
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30509 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
;
30511 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30512 wxWindow
*arg2
= (wxWindow
*) 0 ;
30513 wxString
*arg3
= 0 ;
30514 bool temp3
= False
;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 PyObject
* obj2
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "self",(char *) "window",(char *) "text", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30528 arg3
= wxString_in_helper(obj2
);
30529 if (arg3
== NULL
) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30554 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30558 wxString
*arg3
= 0 ;
30559 bool temp3
= False
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "id",(char *) "text", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30570 arg2
= (int)SWIG_As_int(obj1
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 arg3
= wxString_in_helper(obj2
);
30574 if (arg3
== NULL
) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 Py_INCREF(Py_None
); resultobj
= Py_None
;
30599 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30602 wxWindow
*arg2
= (wxWindow
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "window", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 (arg1
)->RemoveHelp(arg2
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 Py_INCREF(Py_None
); resultobj
= Py_None
;
30628 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 wxHelpProvider_Destroy(arg1
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30656 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30658 return Py_BuildValue((char *)"");
30660 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxSimpleHelpProvider
*result
;
30663 char *kwnames
[] = {
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30682 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30685 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30687 return Py_BuildValue((char *)"");
30689 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
;
30691 wxBitmap
*arg1
= 0 ;
30692 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30693 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30694 wxGenericDragImage
*result
;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "image",(char *) "cursor", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30705 if (arg1
== NULL
) {
30706 PyErr_SetString(PyExc_TypeError
,"null reference");
30710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30713 if (arg2
== NULL
) {
30714 PyErr_SetString(PyExc_TypeError
,"null reference");
30719 if (!wxPyCheckForApp()) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30733 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30736 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30737 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30738 wxGenericDragImage
*result
;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "image",(char *) "cursor", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30749 if (arg1
== NULL
) {
30750 PyErr_SetString(PyExc_TypeError
,"null reference");
30754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30757 if (arg2
== NULL
) {
30758 PyErr_SetString(PyExc_TypeError
,"null reference");
30763 if (!wxPyCheckForApp()) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30777 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxString
*arg1
= 0 ;
30780 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30781 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30782 wxGenericDragImage
*result
;
30783 bool temp1
= False
;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "str",(char *) "cursor", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30792 arg1
= wxString_in_helper(obj0
);
30793 if (arg1
== NULL
) SWIG_fail
;
30797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30800 if (arg2
== NULL
) {
30801 PyErr_SetString(PyExc_TypeError
,"null reference");
30806 if (!wxPyCheckForApp()) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30828 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
;
30830 wxPyTreeCtrl
*arg1
= 0 ;
30831 wxTreeItemId
*arg2
= 0 ;
30832 wxGenericDragImage
*result
;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "treeCtrl",(char *) "id", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30843 if (arg1
== NULL
) {
30844 PyErr_SetString(PyExc_TypeError
,"null reference");
30847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30850 if (arg2
== NULL
) {
30851 PyErr_SetString(PyExc_TypeError
,"null reference");
30855 if (!wxPyCheckForApp()) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30869 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxPyListCtrl
*arg1
= 0 ;
30873 wxGenericDragImage
*result
;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 char *kwnames
[] = {
30877 (char *) "listCtrl",(char *) "id", NULL
30880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30884 if (arg1
== NULL
) {
30885 PyErr_SetString(PyExc_TypeError
,"null reference");
30888 arg2
= (long)SWIG_As_long(obj1
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 if (!wxPyCheckForApp()) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30905 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30933 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "bitmap", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 (arg1
)->SetBackingBitmap(arg2
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 Py_INCREF(Py_None
); resultobj
= Py_None
;
30959 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
;
30961 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30962 wxPoint
*arg2
= 0 ;
30963 wxWindow
*arg3
= (wxWindow
*) 0 ;
30964 bool arg4
= (bool) False
;
30965 wxRect
*arg5
= (wxRect
*) NULL
;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 PyObject
* obj2
= 0 ;
30971 PyObject
* obj3
= 0 ;
30972 PyObject
* obj4
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30984 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30987 arg4
= (bool)SWIG_As_bool(obj3
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30991 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31010 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31011 PyObject
*resultobj
;
31012 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31013 wxPoint
*arg2
= 0 ;
31014 wxWindow
*arg3
= (wxWindow
*) 0 ;
31015 wxWindow
*arg4
= (wxWindow
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 PyObject
* obj2
= 0 ;
31021 PyObject
* obj3
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31033 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31053 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= (bool)(arg1
)->EndDrag();
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31081 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31084 wxPoint
*arg2
= 0 ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "pt", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31116 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 char *kwnames
[] = {
31122 (char *) "self", NULL
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (bool)(arg1
)->Show();
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31144 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
;
31146 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31148 PyObject
* obj0
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 result
= (bool)(arg1
)->Hide();
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31172 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
;
31174 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31175 wxPoint
*arg2
= 0 ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self",(char *) "pos", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31199 wxRect
* resultptr
;
31200 resultptr
= new wxRect((wxRect
&) result
);
31201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31209 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31213 wxPoint
*arg3
= 0 ;
31216 PyObject
* obj0
= 0 ;
31217 PyObject
* obj1
= 0 ;
31218 PyObject
* obj2
= 0 ;
31219 char *kwnames
[] = {
31220 (char *) "self",(char *) "dc",(char *) "pos", NULL
31223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31229 if (arg2
== NULL
) {
31230 PyErr_SetString(PyExc_TypeError
,"null reference");
31235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31253 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31257 wxMemoryDC
*arg3
= 0 ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 PyObject
* obj2
= 0 ;
31266 PyObject
* obj3
= 0 ;
31267 PyObject
* obj4
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31278 if (arg2
== NULL
) {
31279 PyErr_SetString(PyExc_TypeError
,"null reference");
31282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31285 if (arg3
== NULL
) {
31286 PyErr_SetString(PyExc_TypeError
,"null reference");
31291 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31295 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31313 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31316 wxPoint
*arg2
= 0 ;
31317 wxPoint
*arg3
= 0 ;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 PyObject
* obj2
= 0 ;
31326 PyObject
* obj3
= 0 ;
31327 PyObject
* obj4
= 0 ;
31328 char *kwnames
[] = {
31329 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31343 arg4
= (bool)SWIG_As_bool(obj3
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31345 arg5
= (bool)SWIG_As_bool(obj4
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31363 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31366 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31368 return Py_BuildValue((char *)"");
31370 static PyMethodDef SwigMethods
[] = {
31371 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31378 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31393 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31413 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31434 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31448 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31453 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31460 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31465 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31473 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31505 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31609 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31638 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31656 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31697 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31718 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
31734 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
31736 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
31744 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
31754 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
31784 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
31829 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
31835 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
31847 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32017 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32142 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32168 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32181 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32192 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32194 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32212 { NULL
, NULL
, 0, NULL
}
32216 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32218 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32219 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32221 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32222 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32224 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32225 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32227 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32228 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32230 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32231 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32233 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32234 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32236 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32237 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32239 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32240 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32242 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32243 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32245 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32246 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32248 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32251 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32254 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32257 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32260 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32263 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32266 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32269 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32272 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32275 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32278 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32281 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32284 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32287 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32288 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32290 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32291 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32293 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32294 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32296 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32299 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32302 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32305 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32308 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32311 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32314 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32315 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32317 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32318 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32320 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32321 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32323 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32324 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32326 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32327 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32329 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32332 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32333 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32335 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32338 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32341 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32344 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32347 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32350 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32353 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32354 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32356 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32357 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32359 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32362 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32365 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32366 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32368 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32369 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32371 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32372 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32374 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32375 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32377 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32378 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32380 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32381 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32383 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32384 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32386 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32387 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32389 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32390 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32392 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32393 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32395 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32396 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32398 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32399 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32401 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32402 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32404 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32405 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32407 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32408 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32410 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32411 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32413 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32414 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32416 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32417 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32419 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32420 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32422 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32423 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32425 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32426 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32428 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32429 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32431 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32432 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32434 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32435 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32437 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32438 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32440 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32441 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32443 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32444 return (void *)((wxControl
*) ((wxGauge
*) x
));
32446 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32447 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32449 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32450 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32452 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32453 return (void *)((wxControl
*) ((wxButton
*) x
));
32455 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32456 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32458 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32459 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32461 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32462 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32464 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32465 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32467 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32468 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32470 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32471 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32473 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32474 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32476 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32477 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32479 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32480 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32482 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32483 return (void *)((wxControl
*) ((wxSlider
*) x
));
32485 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32486 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32488 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32489 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32491 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32492 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32494 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32495 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32497 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32498 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32500 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32501 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32503 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32504 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32506 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32507 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32509 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32510 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32512 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32513 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32515 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32516 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32518 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32519 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32521 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32524 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32527 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32530 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32533 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32536 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32539 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32542 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32545 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32548 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32551 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32554 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32557 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32560 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32563 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32566 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32569 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32572 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32575 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32578 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32581 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32584 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32587 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32590 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32593 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32596 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32599 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32602 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32605 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32608 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32611 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32614 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32617 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32620 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32623 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32626 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32629 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32632 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32635 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32638 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32641 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32642 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32644 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32645 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32647 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32648 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32650 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32651 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32653 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32654 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32656 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32657 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32659 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32660 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32662 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32665 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32668 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32671 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32674 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32677 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32680 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32683 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32686 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32689 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) ((wxSizer
*) x
));
32692 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32695 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32698 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32701 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32704 static void *_p_wxEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) ((wxEvent
*) x
));
32707 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32710 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32713 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32716 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32719 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32722 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32725 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32728 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32731 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32734 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32737 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32740 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32743 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32746 static void *_p_wxControlTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32749 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32752 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32755 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32758 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32761 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32764 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32767 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32770 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32773 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32776 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32779 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32782 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32785 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32788 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32791 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32794 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32797 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32800 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32803 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32806 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32809 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32812 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32815 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32818 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32821 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32824 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32827 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32830 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32833 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32836 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32839 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32842 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32845 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32848 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32851 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32854 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32857 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32860 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32863 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32866 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32869 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32872 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32875 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32878 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32881 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32884 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32887 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32890 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32893 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32896 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32899 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32902 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32905 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32908 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32911 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32914 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) ((wxListItem
*) x
));
32917 static void *_p_wxImageTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) ((wxImage
*) x
));
32920 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32923 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32926 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32929 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32932 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32935 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32938 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32941 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32944 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32947 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32950 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32953 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32956 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32959 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32965 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32968 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32971 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32974 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32977 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32980 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32983 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32986 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32989 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32992 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32995 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32998 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33001 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33004 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33007 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33010 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33013 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33016 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33019 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33020 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33022 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33023 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33025 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33026 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33028 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33029 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33031 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33032 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33034 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33035 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33037 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33038 return (void *)((wxWindow
*) ((wxControl
*) x
));
33040 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33041 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33043 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33044 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33046 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33047 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33049 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33050 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33052 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33053 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33055 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33056 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33058 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33059 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33061 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33062 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33064 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33065 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33067 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33068 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33070 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33071 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33073 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33074 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33076 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33077 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33079 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33080 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33082 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33083 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33085 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33086 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33088 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33089 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33091 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33092 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33094 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33095 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33097 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33098 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33100 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33101 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33103 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33104 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33106 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33107 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33109 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33110 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33112 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33113 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33115 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33116 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33118 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33119 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33121 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33122 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33124 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33125 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33127 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33128 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33130 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33131 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33133 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33134 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33136 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33137 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33139 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33140 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33142 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33143 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33145 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33146 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33148 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33149 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33151 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33152 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33154 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33155 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33157 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33158 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33160 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33161 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33163 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33164 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33166 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33167 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33169 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33170 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33172 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33173 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33175 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33176 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33178 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33179 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33181 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33182 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33184 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33185 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33187 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}};
33188 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}};
33189 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}};
33190 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}};
33191 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}};
33192 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}};
33193 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}};
33194 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}};
33195 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}};
33196 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}};
33197 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}};
33198 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}};
33199 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}};
33200 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}};
33201 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}};
33202 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}};
33203 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}};
33204 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}};
33205 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}};
33206 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}};
33207 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33208 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}};
33209 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}};
33210 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}};
33211 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}};
33212 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}};
33213 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}};
33214 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}};
33215 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}};
33216 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}};
33217 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}};
33218 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}};
33219 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}};
33220 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}};
33221 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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 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}};
33230 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}};
33231 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}};
33232 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}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 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}};
33238 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}};
33239 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}};
33240 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}};
33241 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}};
33242 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}};
33243 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}};
33244 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}};
33245 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}};
33246 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}};
33247 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}};
33248 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}};
33249 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}};
33250 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}};
33251 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}};
33252 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}};
33253 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}};
33254 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}};
33255 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}};
33256 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}};
33257 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}};
33258 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}};
33259 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}};
33260 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}};
33261 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}};
33262 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}};
33263 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}};
33264 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}};
33265 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}};
33266 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33267 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}};
33268 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}};
33269 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}};
33270 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}};
33271 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}};
33273 static swig_type_info
*swig_types_initial
[] = {
33274 _swigt__p_wxTextUrlEvent
,
33275 _swigt__p_wxBookCtrlEvent
,
33277 _swigt__p_wxCheckBox
,
33278 _swigt__p_wxPyTreeCtrl
,
33280 _swigt__p_wxGenericDirCtrl
,
33282 _swigt__p_wxPyTreeItemData
,
33283 _swigt__p_wxItemContainer
,
33284 _swigt__p_wxPyListCtrl
,
33285 _swigt__p_wxDirFilterListCtrl
,
33286 _swigt__p_wxStaticLine
,
33287 _swigt__p_wxControl
,
33288 _swigt__p_wxPyControl
,
33290 _swigt__p_wxToolBarBase
,
33292 _swigt__p_wxToggleButton
,
33293 _swigt__p_wxRadioButton
,
33294 _swigt__p_wxChoice
,
33295 _swigt__p_wxMemoryDC
,
33296 _swigt__p_wxListItemAttr
,
33301 _swigt__p_wxListView
,
33303 _swigt__p_wxVisualAttributes
,
33304 _swigt__p_wxTextCtrl
,
33305 _swigt__p_wxNotebook
,
33306 _swigt__p_wxNotifyEvent
,
33307 _swigt__p_wxArrayString
,
33308 _swigt__p_wxListbook
,
33309 _swigt__p_wxStaticBitmap
,
33310 _swigt__p_wxSlider
,
33311 _swigt__p_wxStaticBox
,
33312 _swigt__p_wxArrayInt
,
33313 _swigt__p_wxContextHelp
,
33315 _swigt__p_wxEvtHandler
,
33316 _swigt__p_wxListEvent
,
33317 _swigt__p_wxCheckListBox
,
33318 _swigt__p_wxListBox
,
33319 _swigt__p_wxBookCtrl
,
33320 _swigt__p_wxSpinButton
,
33321 _swigt__p_wxButton
,
33322 _swigt__p_wxBitmapButton
,
33324 _swigt__p_wxContextHelpButton
,
33325 _swigt__p_wxRadioBox
,
33326 _swigt__p_wxScrollBar
,
33328 _swigt__p_wxTreeItemId
,
33329 _swigt__p_wxComboBox
,
33330 _swigt__p_wxHelpEvent
,
33331 _swigt__p_wxListItem
,
33332 _swigt__p_wxNotebookSizer
,
33333 _swigt__p_wxSpinEvent
,
33334 _swigt__p_wxGenericDragImage
,
33335 _swigt__p_wxSpinCtrl
,
33336 _swigt__p_wxImageList
,
33337 _swigt__p_wxHelpProvider
,
33338 _swigt__p_wxTextAttr
,
33339 _swigt__p_wxSimpleHelpProvider
,
33341 _swigt__p_wxListbookEvent
,
33342 _swigt__p_wxNotebookEvent
,
33343 _swigt__p_wxObject
,
33344 _swigt__p_wxCursor
,
33345 _swigt__p_wxKeyEvent
,
33346 _swigt__p_wxWindow
,
33347 _swigt__p_wxString
,
33348 _swigt__p_wxBitmap
,
33349 _swigt__p_wxTreeEvent
,
33350 _swigt__p_wxMouseEvent
,
33351 _swigt__p_wxCommandEvent
,
33352 _swigt__p_wxStaticText
,
33353 _swigt__p_wxControlWithItems
,
33354 _swigt__p_wxToolBarToolBase
,
33355 _swigt__p_wxColour
,
33356 _swigt__p_wxToolBar
,
33357 _swigt__p_wxBookCtrlSizer
,
33358 _swigt__p_wxValidator
,
33363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33365 static swig_const_info swig_const_table
[] = {
33366 {0, 0, 0, 0.0, 0, 0}};
33375 SWIGEXPORT(void) SWIG_init(void) {
33376 static PyObject
*SWIG_globals
= 0;
33377 static int typeinit
= 0;
33380 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33381 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33382 d
= PyModule_GetDict(m
);
33385 for (i
= 0; swig_types_initial
[i
]; i
++) {
33386 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33390 SWIG_InstallConstants(d
,swig_const_table
);
33392 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33393 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33394 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33395 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33396 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33397 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33398 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33399 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33400 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33401 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33402 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33403 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33404 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33405 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33406 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33407 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33408 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33409 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33410 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33411 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33412 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33413 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33414 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33415 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33416 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33417 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33418 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33419 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33420 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33421 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33422 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33423 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33424 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33425 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33426 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33427 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33428 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33429 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33430 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33431 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33432 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33433 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33434 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33435 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33436 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33437 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33438 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33439 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33440 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33441 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33442 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33443 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33444 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33445 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33446 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33447 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33448 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33449 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33450 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33451 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33452 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33453 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33454 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33455 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33456 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33457 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33458 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33459 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33460 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33461 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33464 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33465 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33466 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33467 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33468 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33469 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33470 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33471 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33472 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33473 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33474 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33475 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33477 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33478 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33479 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33480 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33481 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33482 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33483 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33484 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33485 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33486 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33487 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33488 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33489 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33490 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33491 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33492 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33493 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33494 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33495 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33498 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33499 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33500 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33501 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33502 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33503 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33504 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33505 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33506 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33507 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33508 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33509 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33510 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33511 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33512 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33513 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33514 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33515 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33516 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33517 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33518 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33519 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33520 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33521 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33522 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33523 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33524 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33525 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33526 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33527 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33528 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33529 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33530 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33531 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33532 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33533 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33534 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33535 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33536 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33537 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33538 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33539 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33540 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33541 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33542 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33543 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33544 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33545 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33546 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33547 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33548 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33549 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33550 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33551 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33552 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33553 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33554 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33555 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33556 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33557 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33558 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33559 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33560 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33561 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33562 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33563 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33564 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33565 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33566 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33567 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33568 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33569 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33570 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33571 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33572 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33573 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33574 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33575 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33576 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33577 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33578 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33579 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33580 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33581 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33583 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33586 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33587 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33592 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33593 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33594 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33595 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33596 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33597 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33598 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33599 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33600 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33601 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33602 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33604 // Map renamed classes back to their common name for OOR
33605 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33607 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33608 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33609 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33610 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33611 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33612 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33613 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33614 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33615 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33616 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33617 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33618 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33619 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33620 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33621 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33622 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33623 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33624 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33625 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33626 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33627 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33628 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33629 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33630 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33631 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33632 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33633 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33634 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33635 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33636 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33637 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33638 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33639 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33640 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33641 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33642 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33647 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33648 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33649 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33650 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33651 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33652 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33654 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33655 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33656 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33657 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33658 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33659 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33661 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33662 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33664 // Map renamed classes back to their common name for OOR
33665 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33666 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33668 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33669 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33670 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33671 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33672 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33673 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33674 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33675 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33676 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33677 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33679 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");