1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
255 #define SWIGTYPE_p_wxListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_char swig_types[53]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
266 #define SWIGTYPE_p_wxComboBox swig_types[55]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
268 #define SWIGTYPE_p_wxListItem swig_types[57]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273 #define SWIGTYPE_p_wxImageList swig_types[62]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxTextAttr swig_types[64]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277 #define SWIGTYPE_p_wxPoint swig_types[66]
278 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
279 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxObject swig_types[69]
281 #define SWIGTYPE_p_wxCursor swig_types[70]
282 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
283 #define SWIGTYPE_p_wxWindow swig_types[72]
284 #define SWIGTYPE_p_wxString swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
287 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
289 #define SWIGTYPE_p_wxStaticText swig_types[78]
290 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
291 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
292 #define SWIGTYPE_p_wxColour swig_types[81]
293 #define SWIGTYPE_p_wxToolBar swig_types[82]
294 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
295 #define SWIGTYPE_p_wxValidator swig_types[84]
296 static swig_type_info
*swig_types
[86];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _controls_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_controls_
306 #define SWIG_name "_controls_"
308 /* Auxiliar swig macros that appear in the header */
310 #define SWIG_OLDOBJ 1
311 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
312 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315 #define SWIGSTATICINLINE(a) static inline a
316 #define SWIGSTATIC(a) static a
317 #define swig_new_array(size,Type) (new Type[(size)])
318 #define swig_delete(cptr) delete cptr
319 #define swig_delete_array(cptr) delete[] cptr
320 #define swig_const_cast(a,Type) const_cast<Type >(a)
321 #define swig_static_cast(a,Type) static_cast<Type >(a)
322 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
323 #define swig_new_copy(ptr,Type) (new Type(*ptr))
324 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
328 #define SWIGSTATICINLINE(a) static a
329 #define SWIGSTATIC(a) static a
330 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
331 #define swig_delete(cptr) free((char*)cptr)
332 #define swig_delete_array(cptr) free((char*)cptr)
333 #define swig_const_cast(a,Type) (Type)(a)
334 #define swig_static_cast(a,Type) (Type)(a)
335 #define swig_reinterpret_cast(a,Type) (Type)(a)
336 #define swig_numeric_cast(a,Type) (Type)(a)
337 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339 #endif /* __cplusplus */
342 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
351 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
357 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
360 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
363 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_double PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
372 static const wxString
wxPyEmptyString(wxEmptyString
);
373 static const wxString
wxPyControlNameStr(wxControlNameStr
);
375 const wxArrayString wxPyEmptyStringArray
;
377 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
498 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
500 SWIGSTATICINLINE(int)
501 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
503 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
504 if (obj
== Py_True
) {
505 if (val
) *val
= true;
508 if (obj
== Py_False
) {
509 if (val
) *val
= false;
513 if (SWIG_AsVal_int(obj
, &res
)) {
514 if (val
) *val
= (bool)res
;
518 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
524 SWIGSTATICINLINE(bool)
525 SWIG_As_bool(PyObject
* obj
)
528 if (!SWIG_AsVal_bool(obj
, &v
)) {
530 this is needed to make valgrind/purify happier. the other
531 solution is throw an exception, but since this code should work
534 memset((void*)&v
, 0, sizeof(bool));
540 SWIGSTATICINLINE(int)
541 SWIG_Check_bool(PyObject
* obj
)
543 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
547 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
548 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
549 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
550 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
551 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
553 #include <wx/checklst.h>
556 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
557 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
559 wxPyClientData
* data
= new wxPyClientData(clientData
);
560 self
->Insert(item
, pos
, data
);
562 self
->Insert(item
, pos
);
564 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
566 self
->GetSelections(lst
);
567 PyObject
*tup
= PyTuple_New(lst
.GetCount());
568 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
569 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
573 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
575 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
576 self
->GetItem(item
)->SetTextColour(c
);
579 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
581 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
582 self
->GetItem(item
)->SetBackgroundColour(c
);
585 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
587 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
588 self
->GetItem(item
)->SetFont(f
);
591 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
593 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
599 } else if (target
== Py_None
) {
604 target
= PyTuple_New(1);
605 PyTuple_SetItem(target
, 0, o2
);
608 PyTuple_SetItem(o3
, 0, o
);
611 target
= PySequence_Concat(o2
, o3
);
620 // See my_fragments.i
621 SWIGSTATICINLINE(int)
622 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
625 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
626 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
630 *val
= (unsigned long)v
;
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_As_unsigned_SS_long(PyObject
* obj
)
639 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
641 this is needed to make valgrind/purify happier. the other
642 solution is throw an exception, but since this code should work
645 memset((void*)&v
, 0, sizeof(unsigned long));
651 SWIGSTATICINLINE(int)
652 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
654 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
657 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
658 self
->AppendText(text
);
660 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
661 return self
->GetValue().Mid(from
, to
- from
);
663 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
664 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
665 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
666 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
667 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
669 #include <wx/slider.h>
672 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
673 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
676 // implement dummy items for platforms that don't have this class
678 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
680 class wxToggleButton
: public wxControl
683 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
684 const wxPoint
&, const wxSize
&, long,
685 const wxValidator
&, const wxString
&)
686 { wxPyRaiseNotImplemented(); }
689 { wxPyRaiseNotImplemented(); }
693 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
695 SWIGSTATICINLINE(PyObject
* )
696 SWIG_From_unsigned_SS_long(unsigned long value
)
698 return (value
> LONG_MAX
) ?
699 PyLong_FromUnsignedLong(value
)
700 : PyInt_FromLong(swig_numeric_cast(value
,long));
703 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
704 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
705 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
707 Py_INCREF(udata
->m_obj
);
714 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
715 self
->SetClientData(new wxPyUserData(clientData
));
717 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
718 wxPyUserData
* udata
= NULL
;
719 if (clientData
&& clientData
!= Py_None
)
720 udata
= new wxPyUserData(clientData
);
721 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
722 shortHelp
, longHelp
, udata
);
724 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
725 wxPyUserData
* udata
= NULL
;
726 if (clientData
&& clientData
!= Py_None
)
727 udata
= new wxPyUserData(clientData
);
728 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
729 shortHelp
, longHelp
, udata
);
731 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
732 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
734 Py_INCREF(udata
->m_obj
);
741 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
742 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
745 #include <wx/listctrl.h>
747 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
748 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
749 // Python aware sorting function for wxPyListCtrl
750 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
752 PyObject
* func
= (PyObject
*)funcPtr
;
753 bool blocked
= wxPyBeginBlockThreads();
755 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
756 PyObject
* result
= PyEval_CallObject(func
, args
);
759 retval
= PyInt_AsLong(result
);
763 wxPyEndBlockThreads(blocked
);
767 // C++ Version of a Python aware class
768 class wxPyListCtrl
: public wxListCtrl
{
769 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
771 wxPyListCtrl() : wxListCtrl() {}
772 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
776 const wxValidator
& validator
,
777 const wxString
& name
) :
778 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
780 bool Create(wxWindow
* parent
, wxWindowID id
,
784 const wxValidator
& validator
,
785 const wxString
& name
) {
786 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
789 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
790 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
791 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
796 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
798 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
799 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
800 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
802 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
804 item
.SetMask( wxLIST_MASK_STATE
|
812 if (self
->GetColumn(col
, item
))
813 return new wxListItem(item
);
817 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
818 wxListItem
* info
= new wxListItem
;
819 info
->m_itemId
= itemId
;
821 info
->m_mask
= 0xFFFF;
822 self
->GetItem(*info
);
825 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
827 self
->GetItemPosition(item
, pos
);
830 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
832 self
->GetItemRect(item
, rect
, code
);
836 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
837 if (!PyCallable_Check(func
))
839 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
841 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
849 #include <wx/treectrl.h>
850 #include "wx/wxPython/pytree.h"
852 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
853 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
854 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
855 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
856 // C++ version of Python aware wxTreeCtrl
857 class wxPyTreeCtrl
: public wxTreeCtrl
{
858 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
860 wxPyTreeCtrl() : wxTreeCtrl() {}
861 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
865 const wxValidator
& validator
,
866 const wxString
& name
) :
867 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
869 bool Create(wxWindow
*parent
, wxWindowID id
,
873 const wxValidator
& validator
,
874 const wxString
& name
) {
875 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
879 int OnCompareItems(const wxTreeItemId
& item1
,
880 const wxTreeItemId
& item2
) {
883 bool blocked
= wxPyBeginBlockThreads();
884 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
885 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
886 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
887 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
891 wxPyEndBlockThreads(blocked
);
893 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
899 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
903 #if UINT_MAX < LONG_MAX
904 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
905 #define SWIG_From_unsigned_SS_int SWIG_From_long
908 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
909 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
914 SWIGSTATICINLINE(int)
915 SWIG_CheckUnsignedLongInRange(unsigned long value
,
916 unsigned long max_value
,
919 if (value
> max_value
) {
921 PyErr_Format(PyExc_OverflowError
,
922 "value %ld is greater than '%s' minimum %ld",
923 value
, errmsg
, max_value
);
931 #if UINT_MAX != ULONG_MAX
932 SWIGSTATICINLINE(int)
933 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
935 const char* errmsg
= val
? "unsigned int" : 0;
937 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
938 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
939 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
946 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
951 SWIGSTATICINLINE(unsigned int)
952 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
954 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
959 SWIGSTATICINLINE(unsigned int)
960 SWIG_As_unsigned_SS_int(PyObject
* obj
)
963 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
965 this is needed to make valgrind/purify happier. the other
966 solution is throw an exception, but since this code should work
969 memset((void*)&v
, 0, sizeof(unsigned int));
975 SWIGSTATICINLINE(int)
976 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
978 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
981 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
982 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
984 data
= new wxPyTreeItemData();
985 data
->SetId(item
); // set the id
986 self
->SetItemData(item
, data
);
990 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
991 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
993 data
= new wxPyTreeItemData();
994 data
->SetId(item
); // set the id
995 self
->SetItemData(item
, data
);
997 return data
->GetData();
999 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1000 data
->SetId(item
); // set the id
1001 self
->SetItemData(item
, data
);
1003 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1004 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1006 data
= new wxPyTreeItemData(obj
);
1007 data
->SetId(item
); // set the id
1008 self
->SetItemData(item
, data
);
1012 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1013 bool blocked
= wxPyBeginBlockThreads();
1014 PyObject
* rval
= PyList_New(0);
1015 wxArrayTreeItemIds array
;
1017 num
= self
->GetSelections(array
);
1018 for (x
=0; x
< num
; x
++) {
1019 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1020 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
1021 PyList_Append(rval
, item
);
1024 wxPyEndBlockThreads(blocked
);
1027 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1029 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1030 bool blocked
= wxPyBeginBlockThreads();
1031 PyObject
* tup
= PyTuple_New(2);
1032 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1033 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1034 wxPyEndBlockThreads(blocked
);
1037 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1038 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1039 bool blocked
= wxPyBeginBlockThreads();
1040 PyObject
* tup
= PyTuple_New(2);
1041 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1042 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1043 wxPyEndBlockThreads(blocked
);
1046 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1048 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1049 bool blocked
= wxPyBeginBlockThreads();
1050 wxRect
* r
= new wxRect(rect
);
1051 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
1052 wxPyEndBlockThreads(blocked
);
1058 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1060 SWIGSTATICINLINE(PyObject
*)
1061 SWIG_From_bool(bool value
)
1063 PyObject
*obj
= value
? Py_True
: Py_False
;
1069 // C++ version of Python aware wxControl
1070 class wxPyControl
: public wxControl
1072 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1074 wxPyControl() : wxControl() {}
1075 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1076 const wxPoint
& pos
= wxDefaultPosition
,
1077 const wxSize
& size
= wxDefaultSize
,
1079 const wxValidator
& validator
=wxDefaultValidator
,
1080 const wxString
& name
= wxPyControlNameStr
)
1081 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1083 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1085 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1086 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1087 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1088 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1090 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1091 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1092 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1094 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1095 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1097 DEC_PYCALLBACK__(InitDialog
);
1098 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1099 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1100 DEC_PYCALLBACK_BOOL_(Validate
);
1102 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1103 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1104 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1106 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1107 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1109 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1110 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1111 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1116 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1118 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1119 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1120 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1121 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1123 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1124 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1125 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1127 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1128 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1130 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1131 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1132 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1133 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1136 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1137 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1139 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1140 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1143 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1144 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1148 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1150 #include <wx/generic/dragimgg.h>
1155 static int _wrap_ButtonNameStr_set(PyObject
*) {
1156 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1161 static PyObject
*_wrap_ButtonNameStr_get() {
1166 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1168 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1175 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
*resultobj
;
1177 wxWindow
*arg1
= (wxWindow
*) 0 ;
1178 int arg2
= (int) -1 ;
1179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1185 long arg6
= (long) 0 ;
1186 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1187 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1188 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1189 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1191 bool temp3
= False
;
1194 bool temp8
= False
;
1195 PyObject
* obj0
= 0 ;
1196 PyObject
* obj1
= 0 ;
1197 PyObject
* obj2
= 0 ;
1198 PyObject
* obj3
= 0 ;
1199 PyObject
* obj4
= 0 ;
1200 PyObject
* obj5
= 0 ;
1201 PyObject
* obj6
= 0 ;
1202 PyObject
* obj7
= 0 ;
1204 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 arg2
= (int)SWIG_As_int(obj1
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1216 arg3
= wxString_in_helper(obj2
);
1217 if (arg3
== NULL
) SWIG_fail
;
1224 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1230 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1234 arg6
= (long)SWIG_As_long(obj5
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1238 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1242 PyErr_SetString(PyExc_TypeError
,"null reference");
1248 arg8
= wxString_in_helper(obj7
);
1249 if (arg8
== NULL
) SWIG_fail
;
1254 if (!wxPyCheckForApp()) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1284 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1293 if (!wxPyCheckForApp()) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (wxButton
*)new wxButton();
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1307 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxButton
*arg1
= (wxButton
*) 0 ;
1310 wxWindow
*arg2
= (wxWindow
*) 0 ;
1311 int arg3
= (int) -1 ;
1312 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1313 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1314 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1315 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1316 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1317 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1318 long arg7
= (long) 0 ;
1319 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1320 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1321 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1322 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1324 bool temp4
= False
;
1327 bool temp9
= False
;
1328 PyObject
* obj0
= 0 ;
1329 PyObject
* obj1
= 0 ;
1330 PyObject
* obj2
= 0 ;
1331 PyObject
* obj3
= 0 ;
1332 PyObject
* obj4
= 0 ;
1333 PyObject
* obj5
= 0 ;
1334 PyObject
* obj6
= 0 ;
1335 PyObject
* obj7
= 0 ;
1336 PyObject
* obj8
= 0 ;
1338 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 arg3
= (int)SWIG_As_int(obj2
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1352 arg4
= wxString_in_helper(obj3
);
1353 if (arg4
== NULL
) SWIG_fail
;
1360 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1366 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1370 arg7
= (long)SWIG_As_long(obj6
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1374 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1378 PyErr_SetString(PyExc_TypeError
,"null reference");
1384 arg9
= wxString_in_helper(obj8
);
1385 if (arg9
== NULL
) SWIG_fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1421 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxButton
*arg1
= (wxButton
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1426 (char *) "self", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 (arg1
)->SetDefault();
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1439 Py_INCREF(Py_None
); resultobj
= Py_None
;
1446 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 result
= wxButton::GetDefaultSize();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1463 resultptr
= new wxSize((wxSize
&) result
);
1464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1472 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1475 wxVisualAttributes result
;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "variant", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1483 arg1
= (int)SWIG_As_int(obj0
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1487 if (!wxPyCheckForApp()) SWIG_fail
;
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1495 wxVisualAttributes
* resultptr
;
1496 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1505 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1508 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1510 return Py_BuildValue((char *)"");
1512 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxWindow
*arg1
= (wxWindow
*) 0 ;
1515 int arg2
= (int) -1 ;
1516 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1517 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1522 long arg6
= (long) wxBU_AUTODRAW
;
1523 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1524 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1525 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1526 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1527 wxBitmapButton
*result
;
1530 bool temp8
= False
;
1531 PyObject
* obj0
= 0 ;
1532 PyObject
* obj1
= 0 ;
1533 PyObject
* obj2
= 0 ;
1534 PyObject
* obj3
= 0 ;
1535 PyObject
* obj4
= 0 ;
1536 PyObject
* obj5
= 0 ;
1537 PyObject
* obj6
= 0 ;
1538 PyObject
* obj7
= 0 ;
1540 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 arg2
= (int)SWIG_As_int(obj1
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1551 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1555 PyErr_SetString(PyExc_TypeError
,"null reference");
1562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1572 arg6
= (long)SWIG_As_long(obj5
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1580 PyErr_SetString(PyExc_TypeError
,"null reference");
1586 arg8
= wxString_in_helper(obj7
);
1587 if (arg8
== NULL
) SWIG_fail
;
1592 if (!wxPyCheckForApp()) SWIG_fail
;
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1614 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxBitmapButton
*result
;
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1623 if (!wxPyCheckForApp()) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (wxBitmapButton
*)new wxBitmapButton();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1637 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1640 wxWindow
*arg2
= (wxWindow
*) 0 ;
1641 int arg3
= (int) -1 ;
1642 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1643 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1648 long arg7
= (long) wxBU_AUTODRAW
;
1649 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1650 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1651 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1652 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1656 bool temp9
= False
;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1659 PyObject
* obj2
= 0 ;
1660 PyObject
* obj3
= 0 ;
1661 PyObject
* obj4
= 0 ;
1662 PyObject
* obj5
= 0 ;
1663 PyObject
* obj6
= 0 ;
1664 PyObject
* obj7
= 0 ;
1665 PyObject
* obj8
= 0 ;
1667 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 arg3
= (int)SWIG_As_int(obj2
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1684 PyErr_SetString(PyExc_TypeError
,"null reference");
1691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1701 arg7
= (long)SWIG_As_long(obj6
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1709 PyErr_SetString(PyExc_TypeError
,"null reference");
1715 arg9
= wxString_in_helper(obj8
);
1716 if (arg9
== NULL
) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1744 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 result
= (arg1
)->GetBitmapLabel();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 wxBitmap
* resultptr
;
1765 resultptr
= new wxBitmap((wxBitmap
&) result
);
1766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1774 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= (arg1
)->GetBitmapDisabled();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 wxBitmap
* resultptr
;
1795 resultptr
= new wxBitmap((wxBitmap
&) result
);
1796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1804 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1810 (char *) "self", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (arg1
)->GetBitmapFocus();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1824 wxBitmap
* resultptr
;
1825 resultptr
= new wxBitmap((wxBitmap
&) result
);
1826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1834 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 result
= (arg1
)->GetBitmapSelected();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1854 wxBitmap
* resultptr
;
1855 resultptr
= new wxBitmap((wxBitmap
&) result
);
1856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1864 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1867 wxBitmap
*arg2
= 0 ;
1868 PyObject
* obj0
= 0 ;
1869 PyObject
* obj1
= 0 ;
1871 (char *) "self",(char *) "bitmap", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1881 PyErr_SetString(PyExc_TypeError
,"null reference");
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1901 wxBitmap
*arg2
= 0 ;
1902 PyObject
* obj0
= 0 ;
1903 PyObject
* obj1
= 0 ;
1905 (char *) "self",(char *) "bitmap", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1915 PyErr_SetString(PyExc_TypeError
,"null reference");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1935 wxBitmap
*arg2
= 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "self",(char *) "bitmap", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1949 PyErr_SetString(PyExc_TypeError
,"null reference");
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 Py_INCREF(Py_None
); resultobj
= Py_None
;
1966 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1969 wxBitmap
*arg2
= 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "bitmap", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1983 PyErr_SetString(PyExc_TypeError
,"null reference");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2009 (char *) "self",(char *) "x",(char *) "y", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 arg2
= (int)SWIG_As_int(obj1
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2017 arg3
= (int)SWIG_As_int(obj2
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 (arg1
)->SetMargins(arg2
,arg3
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 Py_INCREF(Py_None
); resultobj
= Py_None
;
2033 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_From_int((int)result
);
2059 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_From_int((int)result
);
2085 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2088 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2090 return Py_BuildValue((char *)"");
2092 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2093 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2098 static PyObject
*_wrap_CheckBoxNameStr_get() {
2103 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2105 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2112 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxWindow
*arg1
= (wxWindow
*) 0 ;
2115 int arg2
= (int) -1 ;
2116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2122 long arg6
= (long) 0 ;
2123 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2124 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2125 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2126 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2128 bool temp3
= False
;
2131 bool temp8
= False
;
2132 PyObject
* obj0
= 0 ;
2133 PyObject
* obj1
= 0 ;
2134 PyObject
* obj2
= 0 ;
2135 PyObject
* obj3
= 0 ;
2136 PyObject
* obj4
= 0 ;
2137 PyObject
* obj5
= 0 ;
2138 PyObject
* obj6
= 0 ;
2139 PyObject
* obj7
= 0 ;
2141 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 arg2
= (int)SWIG_As_int(obj1
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2153 arg3
= wxString_in_helper(obj2
);
2154 if (arg3
== NULL
) SWIG_fail
;
2161 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2167 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2171 arg6
= (long)SWIG_As_long(obj5
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2179 PyErr_SetString(PyExc_TypeError
,"null reference");
2185 arg8
= wxString_in_helper(obj7
);
2186 if (arg8
== NULL
) SWIG_fail
;
2191 if (!wxPyCheckForApp()) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2221 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2230 if (!wxPyCheckForApp()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (wxCheckBox
*)new wxCheckBox();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2244 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2247 wxWindow
*arg2
= (wxWindow
*) 0 ;
2248 int arg3
= (int) -1 ;
2249 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2250 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2251 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2252 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2253 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2254 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2255 long arg7
= (long) 0 ;
2256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2258 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2261 bool temp4
= False
;
2264 bool temp9
= False
;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2267 PyObject
* obj2
= 0 ;
2268 PyObject
* obj3
= 0 ;
2269 PyObject
* obj4
= 0 ;
2270 PyObject
* obj5
= 0 ;
2271 PyObject
* obj6
= 0 ;
2272 PyObject
* obj7
= 0 ;
2273 PyObject
* obj8
= 0 ;
2275 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 arg3
= (int)SWIG_As_int(obj2
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2289 arg4
= wxString_in_helper(obj3
);
2290 if (arg4
== NULL
) SWIG_fail
;
2297 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2303 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2307 arg7
= (long)SWIG_As_long(obj6
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2315 PyErr_SetString(PyExc_TypeError
,"null reference");
2321 arg9
= wxString_in_helper(obj8
);
2322 if (arg9
== NULL
) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2358 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "self", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (bool)(arg1
)->GetValue();
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2386 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2392 (char *) "self", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 result
= (bool)(arg1
)->IsChecked();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2414 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2421 (char *) "self",(char *) "state", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 arg2
= (bool)SWIG_As_bool(obj1
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 (arg1
)->SetValue(arg2
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 Py_INCREF(Py_None
); resultobj
= Py_None
;
2443 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "self", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 resultobj
= SWIG_From_int((int)result
);
2469 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2476 (char *) "self",(char *) "state", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2482 arg2
= (int)SWIG_As_int(obj1
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 Py_INCREF(Py_None
); resultobj
= Py_None
;
2498 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2526 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2554 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2557 wxVisualAttributes result
;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "variant", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2565 arg1
= (int)SWIG_As_int(obj0
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 if (!wxPyCheckForApp()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 wxVisualAttributes
* resultptr
;
2578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2587 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2592 return Py_BuildValue((char *)"");
2594 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2595 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2600 static PyObject
*_wrap_ChoiceNameStr_get() {
2605 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2607 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2614 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxWindow
*arg1
= (wxWindow
*) 0 ;
2617 int arg2
= (int) -1 ;
2618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2622 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2623 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2624 long arg6
= (long) 0 ;
2625 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2626 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2627 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2632 bool temp5
= False
;
2633 bool temp8
= False
;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2636 PyObject
* obj2
= 0 ;
2637 PyObject
* obj3
= 0 ;
2638 PyObject
* obj4
= 0 ;
2639 PyObject
* obj5
= 0 ;
2640 PyObject
* obj6
= 0 ;
2641 PyObject
* obj7
= 0 ;
2643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 arg2
= (int)SWIG_As_int(obj1
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2667 if (! PySequence_Check(obj4
)) {
2668 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2671 arg5
= new wxArrayString
;
2673 int i
, len
=PySequence_Length(obj4
);
2674 for (i
=0; i
<len
; i
++) {
2675 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2677 PyObject
* str
= PyObject_Unicode(item
);
2679 PyObject
* str
= PyObject_Str(item
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2682 arg5
->Add(Py2wxString(str
));
2689 arg6
= (long)SWIG_As_long(obj5
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2697 PyErr_SetString(PyExc_TypeError
,"null reference");
2703 arg8
= wxString_in_helper(obj7
);
2704 if (arg8
== NULL
) SWIG_fail
;
2709 if (!wxPyCheckForApp()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2718 if (temp5
) delete arg5
;
2727 if (temp5
) delete arg5
;
2737 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2746 if (!wxPyCheckForApp()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 result
= (wxChoice
*)new wxChoice();
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2760 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxChoice
*arg1
= (wxChoice
*) 0 ;
2763 wxWindow
*arg2
= (wxWindow
*) 0 ;
2764 int arg3
= (int) -1 ;
2765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2769 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2770 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2771 long arg7
= (long) 0 ;
2772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2774 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2779 bool temp6
= False
;
2780 bool temp9
= False
;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2783 PyObject
* obj2
= 0 ;
2784 PyObject
* obj3
= 0 ;
2785 PyObject
* obj4
= 0 ;
2786 PyObject
* obj5
= 0 ;
2787 PyObject
* obj6
= 0 ;
2788 PyObject
* obj7
= 0 ;
2789 PyObject
* obj8
= 0 ;
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 arg3
= (int)SWIG_As_int(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2817 if (! PySequence_Check(obj5
)) {
2818 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2821 arg6
= new wxArrayString
;
2823 int i
, len
=PySequence_Length(obj5
);
2824 for (i
=0; i
<len
; i
++) {
2825 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2827 PyObject
* str
= PyObject_Unicode(item
);
2829 PyObject
* str
= PyObject_Str(item
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 arg6
->Add(Py2wxString(str
));
2839 arg7
= (long)SWIG_As_long(obj6
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2843 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2847 PyErr_SetString(PyExc_TypeError
,"null reference");
2853 arg9
= wxString_in_helper(obj8
);
2854 if (arg9
== NULL
) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2869 if (temp6
) delete arg6
;
2878 if (temp6
) delete arg6
;
2888 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxChoice
*arg1
= (wxChoice
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2893 PyObject
* obj1
= 0 ;
2895 (char *) "self",(char *) "n", NULL
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 arg2
= (int)SWIG_As_int(obj1
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 (arg1
)->SetSelection(arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 Py_INCREF(Py_None
); resultobj
= Py_None
;
2917 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxChoice
*arg1
= (wxChoice
*) 0 ;
2920 wxString
*arg2
= 0 ;
2922 bool temp2
= False
;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "string", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2961 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxChoice
*arg1
= (wxChoice
*) 0 ;
2965 wxString
*arg3
= 0 ;
2966 bool temp3
= False
;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2969 PyObject
* obj2
= 0 ;
2971 (char *) "self",(char *) "n",(char *) "string", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 arg2
= (int)SWIG_As_int(obj1
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 arg3
= wxString_in_helper(obj2
);
2981 if (arg3
== NULL
) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 Py_INCREF(Py_None
); resultobj
= Py_None
;
3006 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3009 wxVisualAttributes result
;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "variant", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3017 arg1
= (int)SWIG_As_int(obj0
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 if (!wxPyCheckForApp()) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 wxVisualAttributes
* resultptr
;
3030 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3039 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3042 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3044 return Py_BuildValue((char *)"");
3046 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3047 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3052 static PyObject
*_wrap_ComboBoxNameStr_get() {
3057 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3059 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3066 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxWindow
*arg1
= (wxWindow
*) 0 ;
3069 int arg2
= (int) -1 ;
3070 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3076 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3077 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3078 long arg7
= (long) 0 ;
3079 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3080 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3081 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3082 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3084 bool temp3
= False
;
3087 bool temp6
= False
;
3088 bool temp9
= False
;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3092 PyObject
* obj3
= 0 ;
3093 PyObject
* obj4
= 0 ;
3094 PyObject
* obj5
= 0 ;
3095 PyObject
* obj6
= 0 ;
3096 PyObject
* obj7
= 0 ;
3097 PyObject
* obj8
= 0 ;
3099 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg2
= (int)SWIG_As_int(obj1
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 arg3
= wxString_in_helper(obj2
);
3112 if (arg3
== NULL
) SWIG_fail
;
3119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3130 if (! PySequence_Check(obj5
)) {
3131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3134 arg6
= new wxArrayString
;
3136 int i
, len
=PySequence_Length(obj5
);
3137 for (i
=0; i
<len
; i
++) {
3138 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3140 PyObject
* str
= PyObject_Unicode(item
);
3142 PyObject
* str
= PyObject_Str(item
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3145 arg6
->Add(Py2wxString(str
));
3152 arg7
= (long)SWIG_As_long(obj6
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3160 PyErr_SetString(PyExc_TypeError
,"null reference");
3166 arg9
= wxString_in_helper(obj8
);
3167 if (arg9
== NULL
) SWIG_fail
;
3172 if (!wxPyCheckForApp()) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3185 if (temp6
) delete arg6
;
3198 if (temp6
) delete arg6
;
3208 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3217 if (!wxPyCheckForApp()) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (wxComboBox
*)new wxComboBox();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3231 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3234 wxWindow
*arg2
= (wxWindow
*) 0 ;
3235 int arg3
= (int) -1 ;
3236 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3237 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3238 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3239 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3240 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3241 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3242 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3243 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3244 long arg8
= (long) 0 ;
3245 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3246 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3247 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3248 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3250 bool temp4
= False
;
3253 bool temp7
= False
;
3254 bool temp10
= False
;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3259 PyObject
* obj4
= 0 ;
3260 PyObject
* obj5
= 0 ;
3261 PyObject
* obj6
= 0 ;
3262 PyObject
* obj7
= 0 ;
3263 PyObject
* obj8
= 0 ;
3264 PyObject
* obj9
= 0 ;
3266 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 arg3
= (int)SWIG_As_int(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3280 arg4
= wxString_in_helper(obj3
);
3281 if (arg4
== NULL
) SWIG_fail
;
3288 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3294 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3299 if (! PySequence_Check(obj6
)) {
3300 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3303 arg7
= new wxArrayString
;
3305 int i
, len
=PySequence_Length(obj6
);
3306 for (i
=0; i
<len
; i
++) {
3307 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3309 PyObject
* str
= PyObject_Unicode(item
);
3311 PyObject
* str
= PyObject_Str(item
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3314 arg7
->Add(Py2wxString(str
));
3321 arg8
= (long)SWIG_As_long(obj7
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3329 PyErr_SetString(PyExc_TypeError
,"null reference");
3335 arg10
= wxString_in_helper(obj9
);
3336 if (arg10
== NULL
) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3355 if (temp7
) delete arg7
;
3368 if (temp7
) delete arg7
;
3378 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= ((wxComboBox
const *)arg1
)->GetValue();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3410 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3413 wxString
*arg2
= 0 ;
3414 bool temp2
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "value", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3425 arg2
= wxString_in_helper(obj1
);
3426 if (arg2
== NULL
) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->SetValue((wxString
const &)*arg2
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "pos", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 arg2
= (long)SWIG_As_long(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 (arg1
)->SetInsertionPoint(arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_From_long((long)result
);
3581 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3587 (char *) "self", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= SWIG_From_long((long)result
);
3607 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3612 wxString
*arg4
= 0 ;
3613 bool temp4
= False
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3619 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 arg2
= (long)SWIG_As_long(obj1
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3627 arg3
= (long)SWIG_As_long(obj2
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 arg4
= wxString_in_helper(obj3
);
3631 if (arg4
== NULL
) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "n", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg2
= (int)SWIG_As_int(obj1
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->SetSelection(arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3692 PyObject
* obj2
= 0 ;
3694 (char *) "self",(char *) "from",(char *) "to", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 arg2
= (long)SWIG_As_long(obj1
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3702 arg3
= (long)SWIG_As_long(obj2
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 (arg1
)->SetSelection(arg2
,arg3
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3721 wxString
*arg2
= 0 ;
3723 bool temp2
= False
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "self",(char *) "string", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 arg2
= wxString_in_helper(obj1
);
3735 if (arg2
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3762 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3766 wxString
*arg3
= 0 ;
3767 bool temp3
= False
;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 PyObject
* obj2
= 0 ;
3772 (char *) "self",(char *) "n",(char *) "string", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 arg2
= (int)SWIG_As_int(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 arg3
= wxString_in_helper(obj2
);
3782 if (arg3
== NULL
) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "editable", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (bool)SWIG_As_bool(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetEditable(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->SetInsertionPointEnd();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3868 PyObject
* obj2
= 0 ;
3870 (char *) "self",(char *) "from",(char *) "to", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (long)SWIG_As_long(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3878 arg3
= (long)SWIG_As_long(obj2
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->Remove(arg2
,arg3
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3897 wxVisualAttributes result
;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "variant", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3905 arg1
= (int)SWIG_As_int(obj0
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 wxVisualAttributes
* resultptr
;
3918 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3927 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3932 return Py_BuildValue((char *)"");
3934 static int _wrap_GaugeNameStr_set(PyObject
*) {
3935 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3940 static PyObject
*_wrap_GaugeNameStr_get() {
3945 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3947 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3954 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxWindow
*arg1
= (wxWindow
*) 0 ;
3957 int arg2
= (int) -1 ;
3958 int arg3
= (int) 100 ;
3959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3963 long arg6
= (long) wxGA_HORIZONTAL
;
3964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3966 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3971 bool temp8
= False
;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3975 PyObject
* obj3
= 0 ;
3976 PyObject
* obj4
= 0 ;
3977 PyObject
* obj5
= 0 ;
3978 PyObject
* obj6
= 0 ;
3979 PyObject
* obj7
= 0 ;
3981 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 arg2
= (int)SWIG_As_int(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 arg3
= (int)SWIG_As_int(obj2
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4008 arg6
= (long)SWIG_As_long(obj5
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4016 PyErr_SetString(PyExc_TypeError
,"null reference");
4022 arg8
= wxString_in_helper(obj7
);
4023 if (arg8
== NULL
) SWIG_fail
;
4028 if (!wxPyCheckForApp()) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4050 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4059 if (!wxPyCheckForApp()) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (wxGauge
*)new wxGauge();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4073 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxGauge
*arg1
= (wxGauge
*) 0 ;
4076 wxWindow
*arg2
= (wxWindow
*) 0 ;
4077 int arg3
= (int) -1 ;
4078 int arg4
= (int) 100 ;
4079 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4080 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4081 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4082 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4083 long arg7
= (long) wxGA_HORIZONTAL
;
4084 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4085 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4086 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4087 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4091 bool temp9
= False
;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 PyObject
* obj2
= 0 ;
4095 PyObject
* obj3
= 0 ;
4096 PyObject
* obj4
= 0 ;
4097 PyObject
* obj5
= 0 ;
4098 PyObject
* obj6
= 0 ;
4099 PyObject
* obj7
= 0 ;
4100 PyObject
* obj8
= 0 ;
4102 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 arg3
= (int)SWIG_As_int(obj2
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 arg4
= (int)SWIG_As_int(obj3
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4131 arg7
= (long)SWIG_As_long(obj6
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4139 PyErr_SetString(PyExc_TypeError
,"null reference");
4145 arg9
= wxString_in_helper(obj8
);
4146 if (arg9
== NULL
) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4174 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxGauge
*arg1
= (wxGauge
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "range", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 arg2
= (int)SWIG_As_int(obj1
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->SetRange(arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4203 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxGauge
*arg1
= (wxGauge
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "self", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_From_int((int)result
);
4229 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxGauge
*arg1
= (wxGauge
*) 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4236 (char *) "self",(char *) "pos", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4242 arg2
= (int)SWIG_As_int(obj1
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 (arg1
)->SetValue(arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 Py_INCREF(Py_None
); resultobj
= Py_None
;
4258 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxGauge
*arg1
= (wxGauge
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4264 (char *) "self", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_From_int((int)result
);
4284 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxGauge
*arg1
= (wxGauge
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4312 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxGauge
*arg1
= (wxGauge
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "w", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 arg2
= (int)SWIG_As_int(obj1
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 (arg1
)->SetShadowWidth(arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxGauge
*arg1
= (wxGauge
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4347 (char *) "self", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_From_int((int)result
);
4367 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxGauge
*arg1
= (wxGauge
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4374 (char *) "self",(char *) "w", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4380 arg2
= (int)SWIG_As_int(obj1
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 (arg1
)->SetBezelFace(arg2
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 Py_INCREF(Py_None
); resultobj
= Py_None
;
4396 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxGauge
*arg1
= (wxGauge
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int((int)result
);
4422 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4425 wxVisualAttributes result
;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "variant", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4433 arg1
= (int)SWIG_As_int(obj0
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4437 if (!wxPyCheckForApp()) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 wxVisualAttributes
* resultptr
;
4446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4455 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4458 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4460 return Py_BuildValue((char *)"");
4462 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4463 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4468 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4473 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4475 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4482 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4483 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4488 static PyObject
*_wrap_StaticBoxNameStr_get() {
4493 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4495 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4502 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4503 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4508 static PyObject
*_wrap_StaticTextNameStr_get() {
4513 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4515 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4522 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxWindow
*arg1
= (wxWindow
*) 0 ;
4525 int arg2
= (int) -1 ;
4526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4532 long arg6
= (long) 0 ;
4533 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4535 wxStaticBox
*result
;
4536 bool temp3
= False
;
4539 bool temp7
= False
;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4542 PyObject
* obj2
= 0 ;
4543 PyObject
* obj3
= 0 ;
4544 PyObject
* obj4
= 0 ;
4545 PyObject
* obj5
= 0 ;
4546 PyObject
* obj6
= 0 ;
4548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 arg2
= (int)SWIG_As_int(obj1
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4560 arg3
= wxString_in_helper(obj2
);
4561 if (arg3
== NULL
) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4578 arg6
= (long)SWIG_As_long(obj5
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4583 arg7
= wxString_in_helper(obj6
);
4584 if (arg7
== NULL
) SWIG_fail
;
4589 if (!wxPyCheckForApp()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4619 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxStaticBox
*result
;
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4628 if (!wxPyCheckForApp()) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxStaticBox
*)new wxStaticBox();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4642 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4645 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 int arg3
= (int) -1 ;
4647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4653 long arg7
= (long) 0 ;
4654 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4657 bool temp4
= False
;
4660 bool temp8
= False
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4665 PyObject
* obj4
= 0 ;
4666 PyObject
* obj5
= 0 ;
4667 PyObject
* obj6
= 0 ;
4668 PyObject
* obj7
= 0 ;
4670 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg3
= (int)SWIG_As_int(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4684 arg4
= wxString_in_helper(obj3
);
4685 if (arg4
== NULL
) SWIG_fail
;
4692 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4698 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4702 arg7
= (long)SWIG_As_long(obj6
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4707 arg8
= wxString_in_helper(obj7
);
4708 if (arg8
== NULL
) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4744 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4747 wxVisualAttributes result
;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "variant", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4755 arg1
= (int)SWIG_As_int(obj0
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 if (!wxPyCheckForApp()) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 wxVisualAttributes
* resultptr
;
4768 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4777 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4782 return Py_BuildValue((char *)"");
4784 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxWindow
*arg1
= (wxWindow
*) 0 ;
4787 int arg2
= (int) -1 ;
4788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4792 long arg5
= (long) wxLI_HORIZONTAL
;
4793 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4795 wxStaticLine
*result
;
4798 bool temp6
= False
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4802 PyObject
* obj3
= 0 ;
4803 PyObject
* obj4
= 0 ;
4804 PyObject
* obj5
= 0 ;
4806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4829 arg5
= (long)SWIG_As_long(obj4
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4834 arg6
= wxString_in_helper(obj5
);
4835 if (arg6
== NULL
) SWIG_fail
;
4840 if (!wxPyCheckForApp()) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4862 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxStaticLine
*result
;
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4871 if (!wxPyCheckForApp()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxStaticLine
*)new wxStaticLine();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4885 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4888 wxWindow
*arg2
= (wxWindow
*) 0 ;
4889 int arg3
= (int) -1 ;
4890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4894 long arg6
= (long) wxLI_HORIZONTAL
;
4895 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4900 bool temp7
= False
;
4901 PyObject
* obj0
= 0 ;
4902 PyObject
* obj1
= 0 ;
4903 PyObject
* obj2
= 0 ;
4904 PyObject
* obj3
= 0 ;
4905 PyObject
* obj4
= 0 ;
4906 PyObject
* obj5
= 0 ;
4907 PyObject
* obj6
= 0 ;
4909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 arg3
= (int)SWIG_As_int(obj2
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4934 arg6
= (long)SWIG_As_long(obj5
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4939 arg7
= wxString_in_helper(obj6
);
4940 if (arg7
== NULL
) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)wxStaticLine::GetDefaultSize();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int((int)result
);
5018 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5021 wxVisualAttributes result
;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "variant", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5029 arg1
= (int)SWIG_As_int(obj0
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 if (!wxPyCheckForApp()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 wxVisualAttributes
* resultptr
;
5042 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5051 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5054 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5056 return Py_BuildValue((char *)"");
5058 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5061 int arg2
= (int) -1 ;
5062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5071 wxStaticText
*result
;
5072 bool temp3
= False
;
5075 bool temp7
= False
;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5079 PyObject
* obj3
= 0 ;
5080 PyObject
* obj4
= 0 ;
5081 PyObject
* obj5
= 0 ;
5082 PyObject
* obj6
= 0 ;
5084 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= (int)SWIG_As_int(obj1
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 arg3
= wxString_in_helper(obj2
);
5097 if (arg3
== NULL
) SWIG_fail
;
5104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5114 arg6
= (long)SWIG_As_long(obj5
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5119 arg7
= wxString_in_helper(obj6
);
5120 if (arg7
== NULL
) SWIG_fail
;
5125 if (!wxPyCheckForApp()) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5155 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxStaticText
*result
;
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5164 if (!wxPyCheckForApp()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (wxStaticText
*)new wxStaticText();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5178 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5181 wxWindow
*arg2
= (wxWindow
*) 0 ;
5182 int arg3
= (int) -1 ;
5183 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5184 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5189 long arg7
= (long) 0 ;
5190 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5193 bool temp4
= False
;
5196 bool temp8
= False
;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5199 PyObject
* obj2
= 0 ;
5200 PyObject
* obj3
= 0 ;
5201 PyObject
* obj4
= 0 ;
5202 PyObject
* obj5
= 0 ;
5203 PyObject
* obj6
= 0 ;
5204 PyObject
* obj7
= 0 ;
5206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg3
= (int)SWIG_As_int(obj2
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5220 arg4
= wxString_in_helper(obj3
);
5221 if (arg4
== NULL
) SWIG_fail
;
5228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5238 arg7
= (long)SWIG_As_long(obj6
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 arg8
= wxString_in_helper(obj7
);
5244 if (arg8
== NULL
) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5280 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5283 wxVisualAttributes result
;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "variant", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5291 arg1
= (int)SWIG_As_int(obj0
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 if (!wxPyCheckForApp()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 wxVisualAttributes
* resultptr
;
5304 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5313 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5316 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5318 return Py_BuildValue((char *)"");
5320 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxWindow
*arg1
= (wxWindow
*) 0 ;
5323 int arg2
= (int) -1 ;
5324 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5325 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5330 long arg6
= (long) 0 ;
5331 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5333 wxStaticBitmap
*result
;
5336 bool temp7
= False
;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5339 PyObject
* obj2
= 0 ;
5340 PyObject
* obj3
= 0 ;
5341 PyObject
* obj4
= 0 ;
5342 PyObject
* obj5
= 0 ;
5343 PyObject
* obj6
= 0 ;
5345 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 arg2
= (int)SWIG_As_int(obj1
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5360 PyErr_SetString(PyExc_TypeError
,"null reference");
5367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5377 arg6
= (long)SWIG_As_long(obj5
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5382 arg7
= wxString_in_helper(obj6
);
5383 if (arg7
== NULL
) SWIG_fail
;
5388 if (!wxPyCheckForApp()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5410 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxStaticBitmap
*result
;
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5419 if (!wxPyCheckForApp()) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5433 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5436 wxWindow
*arg2
= (wxWindow
*) 0 ;
5437 int arg3
= (int) -1 ;
5438 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5439 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5444 long arg7
= (long) 0 ;
5445 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5450 bool temp8
= False
;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5454 PyObject
* obj3
= 0 ;
5455 PyObject
* obj4
= 0 ;
5456 PyObject
* obj5
= 0 ;
5457 PyObject
* obj6
= 0 ;
5458 PyObject
* obj7
= 0 ;
5460 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 arg3
= (int)SWIG_As_int(obj2
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5473 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5477 PyErr_SetString(PyExc_TypeError
,"null reference");
5484 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5490 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5494 arg7
= (long)SWIG_As_long(obj6
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 arg8
= wxString_in_helper(obj7
);
5500 if (arg8
== NULL
) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (arg1
)->GetBitmap();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 wxBitmap
* resultptr
;
5549 resultptr
= new wxBitmap((wxBitmap
&) result
);
5550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5558 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5561 wxBitmap
*arg2
= 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5565 (char *) "self",(char *) "bitmap", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5575 PyErr_SetString(PyExc_TypeError
,"null reference");
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "icon", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5609 PyErr_SetString(PyExc_TypeError
,"null reference");
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5629 wxVisualAttributes result
;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "variant", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5637 arg1
= (int)SWIG_As_int(obj0
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 if (!wxPyCheckForApp()) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 wxVisualAttributes
* resultptr
;
5650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5659 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5664 return Py_BuildValue((char *)"");
5666 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5667 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5672 static PyObject
*_wrap_ListBoxNameStr_get() {
5677 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5679 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5686 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxWindow
*arg1
= (wxWindow
*) 0 ;
5689 int arg2
= (int) -1 ;
5690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5694 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5695 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5696 long arg6
= (long) 0 ;
5697 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5698 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5699 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5704 bool temp5
= False
;
5705 bool temp8
= False
;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5709 PyObject
* obj3
= 0 ;
5710 PyObject
* obj4
= 0 ;
5711 PyObject
* obj5
= 0 ;
5712 PyObject
* obj6
= 0 ;
5713 PyObject
* obj7
= 0 ;
5715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg2
= (int)SWIG_As_int(obj1
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5739 if (! PySequence_Check(obj4
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg5
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj4
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5749 PyObject
* str
= PyObject_Unicode(item
);
5751 PyObject
* str
= PyObject_Str(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5754 arg5
->Add(Py2wxString(str
));
5761 arg6
= (long)SWIG_As_long(obj5
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5769 PyErr_SetString(PyExc_TypeError
,"null reference");
5775 arg8
= wxString_in_helper(obj7
);
5776 if (arg8
== NULL
) SWIG_fail
;
5781 if (!wxPyCheckForApp()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5790 if (temp5
) delete arg5
;
5799 if (temp5
) delete arg5
;
5809 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5818 if (!wxPyCheckForApp()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (wxListBox
*)new wxListBox();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5832 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxListBox
*arg1
= (wxListBox
*) 0 ;
5835 wxWindow
*arg2
= (wxWindow
*) 0 ;
5836 int arg3
= (int) -1 ;
5837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5841 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5842 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5843 long arg7
= (long) 0 ;
5844 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5845 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5846 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5847 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5851 bool temp6
= False
;
5852 bool temp9
= False
;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5855 PyObject
* obj2
= 0 ;
5856 PyObject
* obj3
= 0 ;
5857 PyObject
* obj4
= 0 ;
5858 PyObject
* obj5
= 0 ;
5859 PyObject
* obj6
= 0 ;
5860 PyObject
* obj7
= 0 ;
5861 PyObject
* obj8
= 0 ;
5863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 arg3
= (int)SWIG_As_int(obj2
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5889 if (! PySequence_Check(obj5
)) {
5890 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5893 arg6
= new wxArrayString
;
5895 int i
, len
=PySequence_Length(obj5
);
5896 for (i
=0; i
<len
; i
++) {
5897 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5899 PyObject
* str
= PyObject_Unicode(item
);
5901 PyObject
* str
= PyObject_Str(item
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5904 arg6
->Add(Py2wxString(str
));
5911 arg7
= (long)SWIG_As_long(obj6
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5919 PyErr_SetString(PyExc_TypeError
,"null reference");
5925 arg9
= wxString_in_helper(obj8
);
5926 if (arg9
== NULL
) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5941 if (temp6
) delete arg6
;
5950 if (temp6
) delete arg6
;
5960 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxListBox
*arg1
= (wxListBox
*) 0 ;
5963 wxString
*arg2
= 0 ;
5965 PyObject
*arg4
= (PyObject
*) NULL
;
5966 bool temp2
= False
;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5969 PyObject
* obj2
= 0 ;
5970 PyObject
* obj3
= 0 ;
5972 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 arg2
= wxString_in_helper(obj1
);
5980 if (arg2
== NULL
) SWIG_fail
;
5983 arg3
= (int)SWIG_As_int(obj2
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxListBox
*arg1
= (wxListBox
*) 0 ;
6013 wxArrayString
*arg2
= 0 ;
6015 bool temp2
= False
;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6020 (char *) "self",(char *) "items",(char *) "pos", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 if (! PySequence_Check(obj1
)) {
6028 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6031 arg2
= new wxArrayString
;
6033 int i
, len
=PySequence_Length(obj1
);
6034 for (i
=0; i
<len
; i
++) {
6035 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6037 PyObject
* str
= PyObject_Unicode(item
);
6039 PyObject
* str
= PyObject_Str(item
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6042 arg2
->Add(Py2wxString(str
));
6047 arg3
= (int)SWIG_As_int(obj2
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 if (temp2
) delete arg2
;
6063 if (temp2
) delete arg2
;
6069 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxListBox
*arg1
= (wxListBox
*) 0 ;
6072 wxArrayString
*arg2
= 0 ;
6073 bool temp2
= False
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "items", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 if (! PySequence_Check(obj1
)) {
6085 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6088 arg2
= new wxArrayString
;
6090 int i
, len
=PySequence_Length(obj1
);
6091 for (i
=0; i
<len
; i
++) {
6092 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6094 PyObject
* str
= PyObject_Unicode(item
);
6096 PyObject
* str
= PyObject_Str(item
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6099 arg2
->Add(Py2wxString(str
));
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 (arg1
)->Set((wxArrayString
const &)*arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 if (temp2
) delete arg2
;
6118 if (temp2
) delete arg2
;
6124 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxListBox
*arg1
= (wxListBox
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6132 (char *) "self",(char *) "n", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 arg2
= (int)SWIG_As_int(obj1
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxListBox
*arg1
= (wxListBox
*) 0 ;
6160 bool arg3
= (bool) True
;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6165 (char *) "self",(char *) "n",(char *) "select", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 arg2
= (int)SWIG_As_int(obj1
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 arg3
= (bool)SWIG_As_bool(obj2
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetSelection(arg2
,arg3
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxListBox
*arg1
= (wxListBox
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "n", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (int)SWIG_As_int(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->Select(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxListBox
*arg1
= (wxListBox
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6227 (char *) "self",(char *) "n", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg2
= (int)SWIG_As_int(obj1
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 (arg1
)->Deselect(arg2
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6249 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxListBox
*arg1
= (wxListBox
*) 0 ;
6252 int arg2
= (int) -1 ;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6256 (char *) "self",(char *) "itemToLeaveSelected", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg2
= (int)SWIG_As_int(obj1
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->DeselectAll(arg2
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxListBox
*arg1
= (wxListBox
*) 0 ;
6283 wxString
*arg2
= 0 ;
6284 bool arg3
= (bool) True
;
6286 bool temp2
= False
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6291 (char *) "self",(char *) "s",(char *) "select", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= wxString_in_helper(obj1
);
6299 if (arg2
== NULL
) SWIG_fail
;
6303 arg3
= (bool)SWIG_As_bool(obj2
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6330 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxListBox
*arg1
= (wxListBox
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6356 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxListBox
*arg1
= (wxListBox
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6361 PyObject
* obj1
= 0 ;
6363 (char *) "self",(char *) "n", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 arg2
= (int)SWIG_As_int(obj1
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->SetFirstItem(arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxListBox
*arg1
= (wxListBox
*) 0 ;
6388 wxString
*arg2
= 0 ;
6389 bool temp2
= False
;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "s", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg2
= wxString_in_helper(obj1
);
6401 if (arg2
== NULL
) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxListBox
*arg1
= (wxListBox
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "self",(char *) "n", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 arg2
= (int)SWIG_As_int(obj1
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->EnsureVisible(arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxListBox
*arg1
= (wxListBox
*) 0 ;
6458 wxString
*arg2
= 0 ;
6459 bool temp2
= False
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "s", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= wxString_in_helper(obj1
);
6471 if (arg2
== NULL
) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 Py_INCREF(Py_None
); resultobj
= Py_None
;
6496 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxListBox
*arg1
= (wxListBox
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6524 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxListBox
*arg1
= (wxListBox
*) 0 ;
6528 wxColour
*arg3
= 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 PyObject
* obj2
= 0 ;
6534 (char *) "self",(char *) "item",(char *) "c", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 arg2
= (int)SWIG_As_int(obj1
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxListBox
*arg1
= (wxListBox
*) 0 ;
6564 wxColour
*arg3
= 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 PyObject
* obj2
= 0 ;
6570 (char *) "self",(char *) "item",(char *) "c", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 arg2
= (int)SWIG_As_int(obj1
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxListBox
*arg1
= (wxListBox
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 PyObject
* obj2
= 0 ;
6605 (char *) "self",(char *) "item",(char *) "f", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6611 arg2
= (int)SWIG_As_int(obj1
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6617 PyErr_SetString(PyExc_TypeError
,"null reference");
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6637 wxVisualAttributes result
;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "variant", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6645 arg1
= (int)SWIG_As_int(obj0
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 wxVisualAttributes
* resultptr
;
6658 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6667 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6670 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6672 return Py_BuildValue((char *)"");
6674 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxWindow
*arg1
= (wxWindow
*) 0 ;
6677 int arg2
= (int) -1 ;
6678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6682 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6683 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6684 long arg6
= (long) 0 ;
6685 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6686 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6687 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6688 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6689 wxCheckListBox
*result
;
6692 bool temp5
= False
;
6693 bool temp8
= False
;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6697 PyObject
* obj3
= 0 ;
6698 PyObject
* obj4
= 0 ;
6699 PyObject
* obj5
= 0 ;
6700 PyObject
* obj6
= 0 ;
6701 PyObject
* obj7
= 0 ;
6703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (int)SWIG_As_int(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6727 if (! PySequence_Check(obj4
)) {
6728 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6731 arg5
= new wxArrayString
;
6733 int i
, len
=PySequence_Length(obj4
);
6734 for (i
=0; i
<len
; i
++) {
6735 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6737 PyObject
* str
= PyObject_Unicode(item
);
6739 PyObject
* str
= PyObject_Str(item
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6742 arg5
->Add(Py2wxString(str
));
6749 arg6
= (long)SWIG_As_long(obj5
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6757 PyErr_SetString(PyExc_TypeError
,"null reference");
6763 arg8
= wxString_in_helper(obj7
);
6764 if (arg8
== NULL
) SWIG_fail
;
6769 if (!wxPyCheckForApp()) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6778 if (temp5
) delete arg5
;
6787 if (temp5
) delete arg5
;
6797 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxCheckListBox
*result
;
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxCheckListBox
*)new wxCheckListBox();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6820 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6823 wxWindow
*arg2
= (wxWindow
*) 0 ;
6824 int arg3
= (int) -1 ;
6825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6829 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6830 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6831 long arg7
= (long) 0 ;
6832 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6833 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6834 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6835 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6839 bool temp6
= False
;
6840 bool temp9
= False
;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6844 PyObject
* obj3
= 0 ;
6845 PyObject
* obj4
= 0 ;
6846 PyObject
* obj5
= 0 ;
6847 PyObject
* obj6
= 0 ;
6848 PyObject
* obj7
= 0 ;
6849 PyObject
* obj8
= 0 ;
6851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg3
= (int)SWIG_As_int(obj2
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6877 if (! PySequence_Check(obj5
)) {
6878 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6881 arg6
= new wxArrayString
;
6883 int i
, len
=PySequence_Length(obj5
);
6884 for (i
=0; i
<len
; i
++) {
6885 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6887 PyObject
* str
= PyObject_Unicode(item
);
6889 PyObject
* str
= PyObject_Str(item
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6892 arg6
->Add(Py2wxString(str
));
6899 arg7
= (long)SWIG_As_long(obj6
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6907 PyErr_SetString(PyExc_TypeError
,"null reference");
6913 arg9
= wxString_in_helper(obj8
);
6914 if (arg9
== NULL
) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6929 if (temp6
) delete arg6
;
6938 if (temp6
) delete arg6
;
6948 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6956 (char *) "self",(char *) "index", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= (int)SWIG_As_int(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (bool)(arg1
)->IsChecked(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6980 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6984 int arg3
= (int) True
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 PyObject
* obj2
= 0 ;
6989 (char *) "self",(char *) "index",(char *) "check", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 arg2
= (int)SWIG_As_int(obj1
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 arg3
= (int)SWIG_As_int(obj2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 (arg1
)->Check(arg2
,arg3
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (int)(arg1
)->GetItemHeight();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_From_int((int)result
);
7041 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7050 (char *) "self",(char *) "pt", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_From_int((int)result
);
7074 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 PyObject
* obj2
= 0 ;
7084 (char *) "self",(char *) "x",(char *) "y", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 arg2
= (int)SWIG_As_int(obj1
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7092 arg3
= (int)SWIG_As_int(obj2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_From_int((int)result
);
7108 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7113 return Py_BuildValue((char *)"");
7115 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7116 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7121 static PyObject
*_wrap_TextCtrlNameStr_get() {
7126 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7128 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7135 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxColour
const &arg1_defvalue
= wxNullColour
;
7138 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7139 wxColour
const &arg2_defvalue
= wxNullColour
;
7140 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7141 wxFont
const &arg3_defvalue
= wxNullFont
;
7142 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7143 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7149 PyObject
* obj2
= 0 ;
7150 PyObject
* obj3
= 0 ;
7152 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7159 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7169 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7173 PyErr_SetString(PyExc_TypeError
,"null reference");
7178 arg4
= (int)SWIG_As_int(obj3
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7195 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7248 wxColour
*arg2
= 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "colText", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7261 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 Py_INCREF(Py_None
); resultobj
= Py_None
;
7277 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7280 wxColour
*arg2
= 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7285 (char *) "self",(char *) "colBack", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 Py_INCREF(Py_None
); resultobj
= Py_None
;
7309 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7313 long arg3
= (long) wxTEXT_ATTR_FONT
;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7316 PyObject
* obj2
= 0 ;
7318 (char *) "self",(char *) "font",(char *) "flags", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7328 PyErr_SetString(PyExc_TypeError
,"null reference");
7332 arg3
= (long)SWIG_As_long(obj2
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7356 (char *) "self",(char *) "alignment", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 arg2
= (int)SWIG_As_int(obj1
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7381 wxArrayInt
*arg2
= 0 ;
7382 bool temp2
= False
;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "tabs", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 if (! PySequence_Check(obj1
)) {
7394 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7397 arg2
= new wxArrayInt
;
7399 int i
, len
=PySequence_Length(obj1
);
7400 for (i
=0; i
<len
; i
++) {
7401 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7402 PyObject
* number
= PyNumber_Int(item
);
7403 arg2
->Add(PyInt_AS_LONG(number
));
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7417 if (temp2
) delete arg2
;
7422 if (temp2
) delete arg2
;
7428 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7432 int arg3
= (int) 0 ;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7435 PyObject
* obj2
= 0 ;
7437 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 arg2
= (int)SWIG_As_int(obj1
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 arg3
= (int)SWIG_As_int(obj2
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 (arg1
)->SetLeftIndent(arg2
,arg3
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "indent", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 arg2
= (int)SWIG_As_int(obj1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 (arg1
)->SetRightIndent(arg2
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 Py_INCREF(Py_None
); resultobj
= Py_None
;
7492 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "flags", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7505 arg2
= (long)SWIG_As_long(obj1
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->SetFlags(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "self", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7577 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7605 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7633 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7689 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7717 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7725 (char *) "self",(char *) "flag", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7731 arg2
= (long)SWIG_As_long(obj1
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7765 result
= (wxColour
*) &_result_ref
;
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7778 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7794 result
= (wxColour
*) &_result_ref
;
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7807 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7823 result
= (wxFont
*) &_result_ref
;
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 wxFont
* resultptr
= new wxFont(*result
);
7831 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7839 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_From_int((int)result
);
7865 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7881 result
= (wxArrayInt
*) &_result_ref
;
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= PyList_New(0);
7890 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7891 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7892 PyList_Append(resultobj
, val
);
7902 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_From_long((long)result
);
7928 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_From_long((long)result
);
7954 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_From_long((long)result
);
7980 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7986 (char *) "self", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_From_long((long)result
);
8006 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8012 (char *) "self", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8034 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxTextAttr
*arg1
= 0 ;
8037 wxTextAttr
*arg2
= 0 ;
8038 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8042 PyObject
* obj2
= 0 ;
8044 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8052 PyErr_SetString(PyExc_TypeError
,"null reference");
8055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8059 PyErr_SetString(PyExc_TypeError
,"null reference");
8062 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8072 wxTextAttr
* resultptr
;
8073 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8082 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8087 return Py_BuildValue((char *)"");
8089 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxWindow
*arg1
= (wxWindow
*) 0 ;
8092 int arg2
= (int) -1 ;
8093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8099 long arg6
= (long) 0 ;
8100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8102 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8105 bool temp3
= False
;
8108 bool temp8
= False
;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8111 PyObject
* obj2
= 0 ;
8112 PyObject
* obj3
= 0 ;
8113 PyObject
* obj4
= 0 ;
8114 PyObject
* obj5
= 0 ;
8115 PyObject
* obj6
= 0 ;
8116 PyObject
* obj7
= 0 ;
8118 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 arg2
= (int)SWIG_As_int(obj1
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8130 arg3
= wxString_in_helper(obj2
);
8131 if (arg3
== NULL
) SWIG_fail
;
8138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8148 arg6
= (long)SWIG_As_long(obj5
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8152 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8156 PyErr_SetString(PyExc_TypeError
,"null reference");
8162 arg8
= wxString_in_helper(obj7
);
8163 if (arg8
== NULL
) SWIG_fail
;
8168 if (!wxPyCheckForApp()) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8198 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8207 if (!wxPyCheckForApp()) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (wxTextCtrl
*)new wxTextCtrl();
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8221 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8224 wxWindow
*arg2
= (wxWindow
*) 0 ;
8225 int arg3
= (int) -1 ;
8226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8232 long arg7
= (long) 0 ;
8233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8235 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8238 bool temp4
= False
;
8241 bool temp9
= False
;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8244 PyObject
* obj2
= 0 ;
8245 PyObject
* obj3
= 0 ;
8246 PyObject
* obj4
= 0 ;
8247 PyObject
* obj5
= 0 ;
8248 PyObject
* obj6
= 0 ;
8249 PyObject
* obj7
= 0 ;
8250 PyObject
* obj8
= 0 ;
8252 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 arg3
= (int)SWIG_As_int(obj2
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8266 arg4
= wxString_in_helper(obj3
);
8267 if (arg4
== NULL
) SWIG_fail
;
8274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8280 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8284 arg7
= (long)SWIG_As_long(obj6
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8292 PyErr_SetString(PyExc_TypeError
,"null reference");
8298 arg9
= wxString_in_helper(obj8
);
8299 if (arg9
== NULL
) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8335 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8341 (char *) "self", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8367 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8370 wxString
*arg2
= 0 ;
8371 bool temp2
= False
;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "value", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8382 arg2
= wxString_in_helper(obj1
);
8383 if (arg2
== NULL
) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 (arg1
)->SetValue((wxString
const &)*arg2
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 Py_INCREF(Py_None
); resultobj
= Py_None
;
8408 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8418 (char *) "self",(char *) "from",(char *) "to", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 arg2
= (long)SWIG_As_long(obj1
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8426 arg3
= (long)SWIG_As_long(obj2
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8448 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "self",(char *) "lineNo", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 arg2
= (long)SWIG_As_long(obj1
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 resultobj
= SWIG_From_int((int)result
);
8478 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8486 (char *) "self",(char *) "lineNo", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8492 arg2
= (long)SWIG_As_long(obj1
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8514 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_From_int((int)result
);
8540 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "self", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8568 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8574 (char *) "self", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8655 long *arg2
= (long *) 0 ;
8656 long *arg3
= (long *) 0 ;
8661 PyObject
* obj0
= 0 ;
8663 (char *) "self", NULL
8666 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8667 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8679 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8680 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8681 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8682 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8689 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "self", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8721 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8751 wxString
*arg4
= 0 ;
8752 bool temp4
= False
;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8756 PyObject
* obj3
= 0 ;
8758 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 arg2
= (long)SWIG_As_long(obj1
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8766 arg3
= (long)SWIG_As_long(obj2
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 arg4
= wxString_in_helper(obj3
);
8770 if (arg4
== NULL
) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8804 (char *) "self",(char *) "from",(char *) "to", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 arg2
= (long)SWIG_As_long(obj1
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8812 arg3
= (long)SWIG_As_long(obj2
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->Remove(arg2
,arg3
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8831 wxString
*arg2
= 0 ;
8833 bool temp2
= False
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "self",(char *) "file", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= wxString_in_helper(obj1
);
8845 if (arg2
== NULL
) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8872 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8875 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8876 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8878 bool temp2
= False
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8882 (char *) "self",(char *) "file", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 arg2
= wxString_in_helper(obj1
);
8891 if (arg2
== NULL
) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8919 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->MarkDirty();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 (arg1
)->DiscardEdits();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8972 unsigned long arg2
;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8976 (char *) "self",(char *) "len", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->SetMaxLength(arg2
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9001 wxString
*arg2
= 0 ;
9002 bool temp2
= False
;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9006 (char *) "self",(char *) "text", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 arg2
= wxString_in_helper(obj1
);
9014 if (arg2
== NULL
) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 (arg1
)->WriteText((wxString
const &)*arg2
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9042 wxString
*arg2
= 0 ;
9043 bool temp2
= False
;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9047 (char *) "self",(char *) "text", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 arg2
= wxString_in_helper(obj1
);
9055 if (arg2
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 (arg1
)->AppendText((wxString
const &)*arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9083 wxKeyEvent
*arg2
= 0 ;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "self",(char *) "event", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9098 PyErr_SetString(PyExc_TypeError
,"null reference");
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9122 wxTextAttr
*arg4
= 0 ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9129 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 arg2
= (long)SWIG_As_long(obj1
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9137 arg3
= (long)SWIG_As_long(obj2
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9139 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9143 PyErr_SetString(PyExc_TypeError
,"null reference");
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9162 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9166 wxTextAttr
*arg3
= 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9172 (char *) "self",(char *) "position",(char *) "style", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 arg2
= (long)SWIG_As_long(obj1
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9184 PyErr_SetString(PyExc_TypeError
,"null reference");
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9206 wxTextAttr
*arg2
= 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9211 (char *) "self",(char *) "style", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9221 PyErr_SetString(PyExc_TypeError
,"null reference");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9256 result
= (wxTextAttr
*) &_result_ref
;
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9269 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= (long)SWIG_As_long(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (long)SWIG_As_long(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_From_long((long)result
);
9303 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9307 long *arg3
= (long *) 0 ;
9308 long *arg4
= (long *) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9316 (char *) "self",(char *) "pos", NULL
9319 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9320 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9324 arg2
= (long)SWIG_As_long(obj1
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9335 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9336 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9337 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9344 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9351 (char *) "self",(char *) "pos", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 arg2
= (long)SWIG_As_long(obj1
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->ShowPosition(arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 Py_INCREF(Py_None
); resultobj
= Py_None
;
9373 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9377 long *arg3
= (long *) 0 ;
9378 long *arg4
= (long *) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9388 (char *) "self",(char *) "pt", NULL
9391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9392 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_From_int((int)result
);
9408 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9409 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9410 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9411 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9418 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9422 long *arg3
= (long *) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9430 (char *) "self",(char *) "pt", NULL
9433 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_From_int((int)result
);
9449 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9450 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9457 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "self", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 Py_INCREF(Py_None
); resultobj
= Py_None
;
9532 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9538 (char *) "self", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9588 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9616 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 Py_INCREF(Py_None
); resultobj
= Py_None
;
9666 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "self", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "pos", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 arg2
= (long)SWIG_As_long(obj1
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->SetInsertionPoint(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->SetInsertionPointEnd();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 Py_INCREF(Py_None
); resultobj
= Py_None
;
9776 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_From_long((long)result
);
9802 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_From_long((long)result
);
9828 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9835 PyObject
* obj2
= 0 ;
9837 (char *) "self",(char *) "from",(char *) "to", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 arg2
= (long)SWIG_As_long(obj1
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9845 arg3
= (long)SWIG_As_long(obj2
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->SetSelection(arg2
,arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SelectAll();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 Py_INCREF(Py_None
); resultobj
= Py_None
;
9886 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9891 PyObject
* obj1
= 0 ;
9893 (char *) "self",(char *) "editable", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 arg2
= (bool)SWIG_As_bool(obj1
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetEditable(arg2
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 Py_INCREF(Py_None
); resultobj
= Py_None
;
9915 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9918 bool arg2
= (bool) True
;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9923 (char *) "self",(char *) "show", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 arg2
= (bool)SWIG_As_bool(obj1
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (bool)(arg1
)->HideNativeCaret();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9977 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9980 wxString
*arg2
= 0 ;
9981 bool temp2
= False
;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9985 (char *) "self",(char *) "text", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 arg2
= wxString_in_helper(obj1
);
9993 if (arg2
== NULL
) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 Py_INCREF(Py_None
); resultobj
= Py_None
;
10018 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 PyObject
* obj2
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "from",(char *) "to", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 arg2
= (long)SWIG_As_long(obj1
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10036 arg3
= (long)SWIG_As_long(obj2
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10058 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10061 wxVisualAttributes result
;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "variant", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10069 arg1
= (int)SWIG_As_int(obj0
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10073 if (!wxPyCheckForApp()) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 wxVisualAttributes
* resultptr
;
10082 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10091 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10094 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10096 return Py_BuildValue((char *)"");
10098 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10101 wxMouseEvent
*arg2
= 0 ;
10104 wxTextUrlEvent
*result
;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 PyObject
* obj3
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10114 arg1
= (int)SWIG_As_int(obj0
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10119 if (arg2
== NULL
) {
10120 PyErr_SetString(PyExc_TypeError
,"null reference");
10123 arg3
= (long)SWIG_As_long(obj2
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10125 arg4
= (long)SWIG_As_long(obj3
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10141 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10144 wxMouseEvent
*result
;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10157 result
= (wxMouseEvent
*) &_result_ref
;
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10170 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_From_long((long)result
);
10196 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_From_long((long)result
);
10222 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10225 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10227 return Py_BuildValue((char *)"");
10229 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10230 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10235 static PyObject
*_wrap_ScrollBarNameStr_get() {
10240 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10242 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10249 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxWindow
*arg1
= (wxWindow
*) 0 ;
10252 int arg2
= (int) -1 ;
10253 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10254 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10255 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10256 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10257 long arg5
= (long) wxSB_HORIZONTAL
;
10258 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10259 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10260 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10262 wxScrollBar
*result
;
10265 bool temp7
= False
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 PyObject
* obj3
= 0 ;
10270 PyObject
* obj4
= 0 ;
10271 PyObject
* obj5
= 0 ;
10272 PyObject
* obj6
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 arg2
= (int)SWIG_As_int(obj1
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10293 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10297 arg5
= (long)SWIG_As_long(obj4
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10301 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10304 if (arg6
== NULL
) {
10305 PyErr_SetString(PyExc_TypeError
,"null reference");
10311 arg7
= wxString_in_helper(obj6
);
10312 if (arg7
== NULL
) SWIG_fail
;
10317 if (!wxPyCheckForApp()) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10339 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxScrollBar
*result
;
10342 char *kwnames
[] = {
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10348 if (!wxPyCheckForApp()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (wxScrollBar
*)new wxScrollBar();
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10362 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10365 wxWindow
*arg2
= (wxWindow
*) 0 ;
10366 int arg3
= (int) -1 ;
10367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10371 long arg6
= (long) wxSB_HORIZONTAL
;
10372 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10373 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10374 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10375 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10379 bool temp8
= False
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 PyObject
* obj3
= 0 ;
10384 PyObject
* obj4
= 0 ;
10385 PyObject
* obj5
= 0 ;
10386 PyObject
* obj6
= 0 ;
10387 PyObject
* obj7
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 arg3
= (int)SWIG_As_int(obj2
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10414 arg6
= (long)SWIG_As_long(obj5
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10421 if (arg7
== NULL
) {
10422 PyErr_SetString(PyExc_TypeError
,"null reference");
10428 arg8
= wxString_in_helper(obj7
);
10429 if (arg8
== NULL
) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_From_int((int)result
);
10483 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int((int)result
);
10509 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_From_int((int)result
);
10535 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_From_int((int)result
);
10561 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10589 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self",(char *) "viewStart", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 arg2
= (int)SWIG_As_int(obj1
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 (arg1
)->SetThumbPosition(arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 Py_INCREF(Py_None
); resultobj
= Py_None
;
10618 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10625 bool arg6
= (bool) True
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 PyObject
* obj3
= 0 ;
10630 PyObject
* obj4
= 0 ;
10631 PyObject
* obj5
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg2
= (int)SWIG_As_int(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10641 arg3
= (int)SWIG_As_int(obj2
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10643 arg4
= (int)SWIG_As_int(obj3
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10645 arg5
= (int)SWIG_As_int(obj4
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 arg6
= (bool)SWIG_As_bool(obj5
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 Py_INCREF(Py_None
); resultobj
= Py_None
;
10665 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10668 wxVisualAttributes result
;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "variant", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10676 arg1
= (int)SWIG_As_int(obj0
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 if (!wxPyCheckForApp()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10688 wxVisualAttributes
* resultptr
;
10689 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10698 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10701 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10703 return Py_BuildValue((char *)"");
10705 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10706 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10711 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10716 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10718 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10725 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10726 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10731 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10736 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10738 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10745 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxWindow
*arg1
= (wxWindow
*) 0 ;
10748 int arg2
= (int) -1 ;
10749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10753 long arg5
= (long) wxSP_HORIZONTAL
;
10754 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10755 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10756 wxSpinButton
*result
;
10759 bool temp6
= False
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 PyObject
* obj3
= 0 ;
10764 PyObject
* obj4
= 0 ;
10765 PyObject
* obj5
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int)SWIG_As_int(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10790 arg5
= (long)SWIG_As_long(obj4
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10795 arg6
= wxString_in_helper(obj5
);
10796 if (arg6
== NULL
) SWIG_fail
;
10801 if (!wxPyCheckForApp()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10823 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxSpinButton
*result
;
10826 char *kwnames
[] = {
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10832 if (!wxPyCheckForApp()) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= (wxSpinButton
*)new wxSpinButton();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10846 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10849 wxWindow
*arg2
= (wxWindow
*) 0 ;
10850 int arg3
= (int) -1 ;
10851 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10852 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10853 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10854 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10855 long arg6
= (long) wxSP_HORIZONTAL
;
10856 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10857 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10861 bool temp7
= False
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 PyObject
* obj2
= 0 ;
10865 PyObject
* obj3
= 0 ;
10866 PyObject
* obj4
= 0 ;
10867 PyObject
* obj5
= 0 ;
10868 PyObject
* obj6
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 arg3
= (int)SWIG_As_int(obj2
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10891 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10895 arg6
= (long)SWIG_As_long(obj5
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10900 arg7
= wxString_in_helper(obj6
);
10901 if (arg7
== NULL
) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10929 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_From_int((int)result
);
10955 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_From_int((int)result
);
10981 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_From_int((int)result
);
11007 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "val", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 arg2
= (int)SWIG_As_int(obj1
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 (arg1
)->SetValue(arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "minVal", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 arg2
= (int)SWIG_As_int(obj1
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 (arg1
)->SetMin(arg2
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "maxVal", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (int)SWIG_As_int(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->SetMax(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 arg2
= (int)SWIG_As_int(obj1
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11111 arg3
= (int)SWIG_As_int(obj2
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->SetRange(arg2
,arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11158 wxVisualAttributes result
;
11159 PyObject
* obj0
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "variant", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11166 arg1
= (int)SWIG_As_int(obj0
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 if (!wxPyCheckForApp()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 wxVisualAttributes
* resultptr
;
11179 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11188 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11191 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11193 return Py_BuildValue((char *)"");
11195 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxWindow
*arg1
= (wxWindow
*) 0 ;
11198 int arg2
= (int) -1 ;
11199 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11200 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11205 long arg6
= (long) wxSP_ARROW_KEYS
;
11206 int arg7
= (int) 0 ;
11207 int arg8
= (int) 100 ;
11208 int arg9
= (int) 0 ;
11209 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11210 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11211 wxSpinCtrl
*result
;
11212 bool temp3
= False
;
11215 bool temp10
= False
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 PyObject
* obj2
= 0 ;
11219 PyObject
* obj3
= 0 ;
11220 PyObject
* obj4
= 0 ;
11221 PyObject
* obj5
= 0 ;
11222 PyObject
* obj6
= 0 ;
11223 PyObject
* obj7
= 0 ;
11224 PyObject
* obj8
= 0 ;
11225 PyObject
* obj9
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 arg2
= (int)SWIG_As_int(obj1
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11239 arg3
= wxString_in_helper(obj2
);
11240 if (arg3
== NULL
) SWIG_fail
;
11247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11257 arg6
= (long)SWIG_As_long(obj5
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 arg7
= (int)SWIG_As_int(obj6
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 arg8
= (int)SWIG_As_int(obj7
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 arg9
= (int)SWIG_As_int(obj8
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11274 arg10
= wxString_in_helper(obj9
);
11275 if (arg10
== NULL
) SWIG_fail
;
11280 if (!wxPyCheckForApp()) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11310 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxSpinCtrl
*result
;
11313 char *kwnames
[] = {
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11319 if (!wxPyCheckForApp()) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11333 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11336 wxWindow
*arg2
= (wxWindow
*) 0 ;
11337 int arg3
= (int) -1 ;
11338 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11339 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11344 long arg7
= (long) wxSP_ARROW_KEYS
;
11345 int arg8
= (int) 0 ;
11346 int arg9
= (int) 100 ;
11347 int arg10
= (int) 0 ;
11348 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11349 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11351 bool temp4
= False
;
11354 bool temp11
= False
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 PyObject
* obj4
= 0 ;
11360 PyObject
* obj5
= 0 ;
11361 PyObject
* obj6
= 0 ;
11362 PyObject
* obj7
= 0 ;
11363 PyObject
* obj8
= 0 ;
11364 PyObject
* obj9
= 0 ;
11365 PyObject
* obj10
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 arg3
= (int)SWIG_As_int(obj2
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11381 arg4
= wxString_in_helper(obj3
);
11382 if (arg4
== NULL
) SWIG_fail
;
11389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11395 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11399 arg7
= (long)SWIG_As_long(obj6
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 arg8
= (int)SWIG_As_int(obj7
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 arg9
= (int)SWIG_As_int(obj8
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 arg10
= (int)SWIG_As_int(obj9
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11416 arg11
= wxString_in_helper(obj10
);
11417 if (arg11
== NULL
) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11453 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_From_int((int)result
);
11479 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "value", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (int)SWIG_As_int(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->SetValue(arg2
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 Py_INCREF(Py_None
); resultobj
= Py_None
;
11508 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11511 wxString
*arg2
= 0 ;
11512 bool temp2
= False
;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "text", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11523 arg2
= wxString_in_helper(obj1
);
11524 if (arg2
== NULL
) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->SetValue((wxString
const &)*arg2
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11549 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11564 arg2
= (int)SWIG_As_int(obj1
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11566 arg3
= (int)SWIG_As_int(obj2
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->SetRange(arg2
,arg3
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 Py_INCREF(Py_None
); resultobj
= Py_None
;
11582 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_From_int((int)result
);
11608 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_From_int((int)result
);
11634 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "from",(char *) "to", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 arg2
= (long)SWIG_As_long(obj1
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11651 arg3
= (long)SWIG_As_long(obj2
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->SetSelection(arg2
,arg3
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11670 wxVisualAttributes result
;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "variant", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11678 arg1
= (int)SWIG_As_int(obj0
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 if (!wxPyCheckForApp()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 wxVisualAttributes
* resultptr
;
11691 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11700 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11703 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11705 return Py_BuildValue((char *)"");
11707 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11710 int arg2
= (int) 0 ;
11711 wxSpinEvent
*result
;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "commandType",(char *) "winid", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11720 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 arg2
= (int)SWIG_As_int(obj1
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11741 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int((int)result
);
11767 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "pos", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 arg2
= (int)SWIG_As_int(obj1
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SetPosition(arg2
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11796 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11799 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11801 return Py_BuildValue((char *)"");
11803 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11804 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11809 static PyObject
*_wrap_RadioBoxNameStr_get() {
11814 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11816 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11823 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11824 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11829 static PyObject
*_wrap_RadioButtonNameStr_get() {
11834 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11836 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11843 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxWindow
*arg1
= (wxWindow
*) 0 ;
11846 int arg2
= (int) -1 ;
11847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11853 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11854 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11855 int arg7
= (int) 0 ;
11856 long arg8
= (long) wxRA_HORIZONTAL
;
11857 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11858 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11859 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11860 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11861 wxRadioBox
*result
;
11862 bool temp3
= False
;
11865 bool temp6
= False
;
11866 bool temp10
= False
;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 PyObject
* obj3
= 0 ;
11871 PyObject
* obj4
= 0 ;
11872 PyObject
* obj5
= 0 ;
11873 PyObject
* obj6
= 0 ;
11874 PyObject
* obj7
= 0 ;
11875 PyObject
* obj8
= 0 ;
11876 PyObject
* obj9
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11885 arg2
= (int)SWIG_As_int(obj1
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11890 arg3
= wxString_in_helper(obj2
);
11891 if (arg3
== NULL
) SWIG_fail
;
11898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11909 if (! PySequence_Check(obj5
)) {
11910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11913 arg6
= new wxArrayString
;
11915 int i
, len
=PySequence_Length(obj5
);
11916 for (i
=0; i
<len
; i
++) {
11917 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11919 PyObject
* str
= PyObject_Unicode(item
);
11921 PyObject
* str
= PyObject_Str(item
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11924 arg6
->Add(Py2wxString(str
));
11931 arg7
= (int)SWIG_As_int(obj6
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 arg8
= (long)SWIG_As_long(obj7
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11942 if (arg9
== NULL
) {
11943 PyErr_SetString(PyExc_TypeError
,"null reference");
11949 arg10
= wxString_in_helper(obj9
);
11950 if (arg10
== NULL
) SWIG_fail
;
11955 if (!wxPyCheckForApp()) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 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
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11968 if (temp6
) delete arg6
;
11981 if (temp6
) delete arg6
;
11991 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxRadioBox
*result
;
11994 char *kwnames
[] = {
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12000 if (!wxPyCheckForApp()) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (wxRadioBox
*)new wxRadioBox();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12014 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12017 wxWindow
*arg2
= (wxWindow
*) 0 ;
12018 int arg3
= (int) -1 ;
12019 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12020 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12025 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12026 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12027 int arg8
= (int) 0 ;
12028 long arg9
= (long) wxRA_HORIZONTAL
;
12029 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12030 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12031 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12032 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12034 bool temp4
= False
;
12037 bool temp7
= False
;
12038 bool temp11
= False
;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 PyObject
* obj2
= 0 ;
12042 PyObject
* obj3
= 0 ;
12043 PyObject
* obj4
= 0 ;
12044 PyObject
* obj5
= 0 ;
12045 PyObject
* obj6
= 0 ;
12046 PyObject
* obj7
= 0 ;
12047 PyObject
* obj8
= 0 ;
12048 PyObject
* obj9
= 0 ;
12049 PyObject
* obj10
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 arg3
= (int)SWIG_As_int(obj2
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12065 arg4
= wxString_in_helper(obj3
);
12066 if (arg4
== NULL
) SWIG_fail
;
12073 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12079 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12084 if (! PySequence_Check(obj6
)) {
12085 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12088 arg7
= new wxArrayString
;
12090 int i
, len
=PySequence_Length(obj6
);
12091 for (i
=0; i
<len
; i
++) {
12092 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12094 PyObject
* str
= PyObject_Unicode(item
);
12096 PyObject
* str
= PyObject_Str(item
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12099 arg7
->Add(Py2wxString(str
));
12106 arg8
= (int)SWIG_As_int(obj7
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 arg9
= (long)SWIG_As_long(obj8
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12117 if (arg10
== NULL
) {
12118 PyErr_SetString(PyExc_TypeError
,"null reference");
12124 arg11
= wxString_in_helper(obj10
);
12125 if (arg11
== NULL
) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 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
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12144 if (temp7
) delete arg7
;
12157 if (temp7
) delete arg7
;
12167 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 PyObject
* obj1
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "n", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 arg2
= (int)SWIG_As_int(obj1
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->SetSelection(arg2
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_From_int((int)result
);
12222 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12254 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12257 wxString
*arg2
= 0 ;
12259 bool temp2
= False
;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "s", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 arg2
= wxString_in_helper(obj1
);
12271 if (arg2
== NULL
) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_From_int((int)result
);
12324 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12327 wxString
*arg2
= 0 ;
12329 bool temp2
= False
;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "s", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 arg2
= wxString_in_helper(obj1
);
12341 if (arg2
== NULL
) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_int((int)result
);
12366 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "n", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int)SWIG_As_int(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12402 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12406 wxString
*arg3
= 0 ;
12407 bool temp3
= False
;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self",(char *) "n",(char *) "label", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12418 arg2
= (int)SWIG_As_int(obj1
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 arg3
= wxString_in_helper(obj2
);
12422 if (arg3
== NULL
) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12451 bool arg3
= (bool) True
;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 PyObject
* obj2
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self",(char *) "n",(char *) "enable", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 arg2
= (int)SWIG_As_int(obj1
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 arg3
= (bool)SWIG_As_bool(obj2
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->Enable(arg2
,arg3
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12482 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12486 bool arg3
= (bool) True
;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 PyObject
* obj2
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self",(char *) "n",(char *) "show", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 arg2
= (int)SWIG_As_int(obj1
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 arg3
= (bool)SWIG_As_bool(obj2
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 (arg1
)->Show(arg2
,arg3
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_int((int)result
);
12543 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_From_int((int)result
);
12569 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 PyObject
* obj3
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12587 arg2
= (int)SWIG_As_int(obj1
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12589 arg3
= (int)SWIG_As_int(obj2
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12591 arg4
= (long)SWIG_As_long(obj3
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_From_int((int)result
);
12607 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12610 wxVisualAttributes result
;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "variant", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12618 arg1
= (int)SWIG_As_int(obj0
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 if (!wxPyCheckForApp()) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 wxVisualAttributes
* resultptr
;
12631 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12640 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12643 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12645 return Py_BuildValue((char *)"");
12647 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxWindow
*arg1
= (wxWindow
*) 0 ;
12650 int arg2
= (int) -1 ;
12651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12657 long arg6
= (long) 0 ;
12658 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12659 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12660 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12662 wxRadioButton
*result
;
12663 bool temp3
= False
;
12666 bool temp8
= False
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 PyObject
* obj2
= 0 ;
12670 PyObject
* obj3
= 0 ;
12671 PyObject
* obj4
= 0 ;
12672 PyObject
* obj5
= 0 ;
12673 PyObject
* obj6
= 0 ;
12674 PyObject
* obj7
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 arg2
= (int)SWIG_As_int(obj1
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12688 arg3
= wxString_in_helper(obj2
);
12689 if (arg3
== NULL
) SWIG_fail
;
12696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12706 arg6
= (long)SWIG_As_long(obj5
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12713 if (arg7
== NULL
) {
12714 PyErr_SetString(PyExc_TypeError
,"null reference");
12720 arg8
= wxString_in_helper(obj7
);
12721 if (arg8
== NULL
) SWIG_fail
;
12726 if (!wxPyCheckForApp()) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12756 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxRadioButton
*result
;
12759 char *kwnames
[] = {
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12765 if (!wxPyCheckForApp()) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxRadioButton
*)new wxRadioButton();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12779 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12782 wxWindow
*arg2
= (wxWindow
*) 0 ;
12783 int arg3
= (int) -1 ;
12784 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12785 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12786 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12787 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12788 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12789 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12790 long arg7
= (long) 0 ;
12791 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12792 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12793 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12794 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12796 bool temp4
= False
;
12799 bool temp9
= False
;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 PyObject
* obj3
= 0 ;
12804 PyObject
* obj4
= 0 ;
12805 PyObject
* obj5
= 0 ;
12806 PyObject
* obj6
= 0 ;
12807 PyObject
* obj7
= 0 ;
12808 PyObject
* obj8
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 arg3
= (int)SWIG_As_int(obj2
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12824 arg4
= wxString_in_helper(obj3
);
12825 if (arg4
== NULL
) SWIG_fail
;
12832 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12838 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12842 arg7
= (long)SWIG_As_long(obj6
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12849 if (arg8
== NULL
) {
12850 PyErr_SetString(PyExc_TypeError
,"null reference");
12856 arg9
= wxString_in_helper(obj8
);
12857 if (arg9
== NULL
) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12893 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
;
12895 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12897 PyObject
* obj0
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (bool)(arg1
)->GetValue();
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12921 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self",(char *) "value", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 arg2
= (bool)SWIG_As_bool(obj1
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 (arg1
)->SetValue(arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12950 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12953 wxVisualAttributes result
;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "variant", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12961 arg1
= (int)SWIG_As_int(obj0
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 if (!wxPyCheckForApp()) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 wxVisualAttributes
* resultptr
;
12974 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12983 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12986 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12988 return Py_BuildValue((char *)"");
12990 static int _wrap_SliderNameStr_set(PyObject
*) {
12991 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12996 static PyObject
*_wrap_SliderNameStr_get() {
13001 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13003 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13010 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxWindow
*arg1
= (wxWindow
*) 0 ;
13013 int arg2
= (int) -1 ;
13014 int arg3
= (int) 0 ;
13015 int arg4
= (int) 0 ;
13016 int arg5
= (int) 100 ;
13017 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13018 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13019 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13020 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13021 long arg8
= (long) wxSL_HORIZONTAL
;
13022 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13023 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13024 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13025 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13029 bool temp10
= False
;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 PyObject
* obj3
= 0 ;
13034 PyObject
* obj4
= 0 ;
13035 PyObject
* obj5
= 0 ;
13036 PyObject
* obj6
= 0 ;
13037 PyObject
* obj7
= 0 ;
13038 PyObject
* obj8
= 0 ;
13039 PyObject
* obj9
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13048 arg2
= (int)SWIG_As_int(obj1
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 arg3
= (int)SWIG_As_int(obj2
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 arg4
= (int)SWIG_As_int(obj3
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 arg5
= (int)SWIG_As_int(obj4
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13066 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13072 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13076 arg8
= (long)SWIG_As_long(obj7
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13080 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13083 if (arg9
== NULL
) {
13084 PyErr_SetString(PyExc_TypeError
,"null reference");
13090 arg10
= wxString_in_helper(obj9
);
13091 if (arg10
== NULL
) SWIG_fail
;
13096 if (!wxPyCheckForApp()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13118 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13121 char *kwnames
[] = {
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13127 if (!wxPyCheckForApp()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxSlider
*)new wxSlider();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13141 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxSlider
*arg1
= (wxSlider
*) 0 ;
13144 wxWindow
*arg2
= (wxWindow
*) 0 ;
13145 int arg3
= (int) -1 ;
13146 int arg4
= (int) 0 ;
13147 int arg5
= (int) 0 ;
13148 int arg6
= (int) 100 ;
13149 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13150 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13151 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13152 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13153 long arg9
= (long) wxSL_HORIZONTAL
;
13154 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13155 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13156 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13157 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13161 bool temp11
= False
;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 PyObject
* obj2
= 0 ;
13165 PyObject
* obj3
= 0 ;
13166 PyObject
* obj4
= 0 ;
13167 PyObject
* obj5
= 0 ;
13168 PyObject
* obj6
= 0 ;
13169 PyObject
* obj7
= 0 ;
13170 PyObject
* obj8
= 0 ;
13171 PyObject
* obj9
= 0 ;
13172 PyObject
* obj10
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 arg3
= (int)SWIG_As_int(obj2
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13187 arg4
= (int)SWIG_As_int(obj3
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 arg5
= (int)SWIG_As_int(obj4
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 arg6
= (int)SWIG_As_int(obj5
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13201 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13207 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13211 arg9
= (long)SWIG_As_long(obj8
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13218 if (arg10
== NULL
) {
13219 PyErr_SetString(PyExc_TypeError
,"null reference");
13225 arg11
= wxString_in_helper(obj10
);
13226 if (arg11
== NULL
) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13254 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxSlider
*arg1
= (wxSlider
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_From_int((int)result
);
13280 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSlider
*arg1
= (wxSlider
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "value", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 arg2
= (int)SWIG_As_int(obj1
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetValue(arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 PyObject
* obj2
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 arg2
= (int)SWIG_As_int(obj1
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13326 arg3
= (int)SWIG_As_int(obj2
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetRange(arg2
,arg3
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxSlider
*arg1
= (wxSlider
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_From_int((int)result
);
13368 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxSlider
*arg1
= (wxSlider
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_From_int((int)result
);
13394 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxSlider
*arg1
= (wxSlider
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "minValue", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int)SWIG_As_int(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetMin(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSlider
*arg1
= (wxSlider
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "maxValue", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= (int)SWIG_As_int(obj1
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetMax(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxSlider
*arg1
= (wxSlider
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "lineSize", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 arg2
= (int)SWIG_As_int(obj1
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->SetLineSize(arg2
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 Py_INCREF(Py_None
); resultobj
= Py_None
;
13481 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxSlider
*arg1
= (wxSlider
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "pageSize", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 arg2
= (int)SWIG_As_int(obj1
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 (arg1
)->SetPageSize(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 Py_INCREF(Py_None
); resultobj
= Py_None
;
13510 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxSlider
*arg1
= (wxSlider
*) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= SWIG_From_int((int)result
);
13536 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxSlider
*arg1
= (wxSlider
*) 0 ;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_From_int((int)result
);
13562 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxSlider
*arg1
= (wxSlider
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self",(char *) "lenPixels", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 arg2
= (int)SWIG_As_int(obj1
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 (arg1
)->SetThumbLength(arg2
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 Py_INCREF(Py_None
); resultobj
= Py_None
;
13591 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxSlider
*arg1
= (wxSlider
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_From_int((int)result
);
13617 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxSlider
*arg1
= (wxSlider
*) 0 ;
13621 int arg3
= (int) 1 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 PyObject
* obj2
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "n",(char *) "pos", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 arg2
= (int)SWIG_As_int(obj1
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 arg3
= (int)SWIG_As_int(obj2
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->SetTickFreq(arg2
,arg3
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxSlider
*arg1
= (wxSlider
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_int((int)result
);
13678 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxSlider
*arg1
= (wxSlider
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 (arg1
)->ClearTicks();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 Py_INCREF(Py_None
); resultobj
= Py_None
;
13703 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxSlider
*arg1
= (wxSlider
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self",(char *) "tickPos", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 arg2
= (int)SWIG_As_int(obj1
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 (arg1
)->SetTick(arg2
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 Py_INCREF(Py_None
); resultobj
= Py_None
;
13732 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxSlider
*arg1
= (wxSlider
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->ClearSel();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxSlider
*arg1
= (wxSlider
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_From_int((int)result
);
13783 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxSlider
*arg1
= (wxSlider
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_From_int((int)result
);
13809 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxSlider
*arg1
= (wxSlider
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "min",(char *) "max", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 arg2
= (int)SWIG_As_int(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13826 arg3
= (int)SWIG_As_int(obj2
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetSelection(arg2
,arg3
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13845 wxVisualAttributes result
;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "variant", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13853 arg1
= (int)SWIG_As_int(obj0
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13857 if (!wxPyCheckForApp()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 wxVisualAttributes
* resultptr
;
13866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13875 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13878 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13880 return Py_BuildValue((char *)"");
13882 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13883 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13888 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13893 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13895 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13902 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxWindow
*arg1
= (wxWindow
*) 0 ;
13905 int arg2
= (int) -1 ;
13906 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13912 long arg6
= (long) 0 ;
13913 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13914 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13915 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13916 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13917 wxToggleButton
*result
;
13918 bool temp3
= False
;
13921 bool temp8
= False
;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 PyObject
* obj2
= 0 ;
13925 PyObject
* obj3
= 0 ;
13926 PyObject
* obj4
= 0 ;
13927 PyObject
* obj5
= 0 ;
13928 PyObject
* obj6
= 0 ;
13929 PyObject
* obj7
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13938 arg2
= (int)SWIG_As_int(obj1
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13943 arg3
= wxString_in_helper(obj2
);
13944 if (arg3
== NULL
) SWIG_fail
;
13951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13961 arg6
= (long)SWIG_As_long(obj5
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13968 if (arg7
== NULL
) {
13969 PyErr_SetString(PyExc_TypeError
,"null reference");
13975 arg8
= wxString_in_helper(obj7
);
13976 if (arg8
== NULL
) SWIG_fail
;
13981 if (!wxPyCheckForApp()) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14011 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxToggleButton
*result
;
14014 char *kwnames
[] = {
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14020 if (!wxPyCheckForApp()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxToggleButton
*)new wxToggleButton();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14034 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14037 wxWindow
*arg2
= (wxWindow
*) 0 ;
14038 int arg3
= (int) -1 ;
14039 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14040 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14045 long arg7
= (long) 0 ;
14046 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14047 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14048 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14049 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14051 bool temp4
= False
;
14054 bool temp9
= False
;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 PyObject
* obj3
= 0 ;
14059 PyObject
* obj4
= 0 ;
14060 PyObject
* obj5
= 0 ;
14061 PyObject
* obj6
= 0 ;
14062 PyObject
* obj7
= 0 ;
14063 PyObject
* obj8
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 arg3
= (int)SWIG_As_int(obj2
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14079 arg4
= wxString_in_helper(obj3
);
14080 if (arg4
== NULL
) SWIG_fail
;
14087 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14093 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14097 arg7
= (long)SWIG_As_long(obj6
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14104 if (arg8
== NULL
) {
14105 PyErr_SetString(PyExc_TypeError
,"null reference");
14111 arg9
= wxString_in_helper(obj8
);
14112 if (arg9
== NULL
) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14148 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "value", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= (bool)SWIG_As_bool(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetValue(arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14205 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14208 wxString
*arg2
= 0 ;
14209 bool temp2
= False
;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self",(char *) "label", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 arg2
= wxString_in_helper(obj1
);
14221 if (arg2
== NULL
) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 (arg1
)->SetLabel((wxString
const &)*arg2
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14249 wxVisualAttributes result
;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "variant", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14257 arg1
= (int)SWIG_As_int(obj0
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 if (!wxPyCheckForApp()) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 wxVisualAttributes
* resultptr
;
14270 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14279 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14282 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14284 return Py_BuildValue((char *)"");
14286 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14287 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14292 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14297 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14299 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14306 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14332 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "n", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= wxPyMake_wxObject(result
, 0);
14364 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_From_int((int)result
);
14390 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14394 wxString
*arg3
= 0 ;
14396 bool temp3
= False
;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 PyObject
* obj2
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "n",(char *) "strText", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 arg3
= wxString_in_helper(obj2
);
14411 if (arg3
== NULL
) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14438 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "n", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14452 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14474 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14477 wxImageList
*arg2
= (wxImageList
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "imageList", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->SetImageList(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 Py_INCREF(Py_None
); resultobj
= Py_None
;
14503 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14506 wxImageList
*arg2
= (wxImageList
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 PyObject
* obj1
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self",(char *) "imageList", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14517 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 (arg1
)->AssignImageList(arg2
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14532 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14535 wxImageList
*result
;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= wxPyMake_wxObject(result
, 0);
14560 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 PyObject
* obj1
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self",(char *) "n", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_From_int((int)result
);
14590 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 PyObject
* obj1
= 0 ;
14598 PyObject
* obj2
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self",(char *) "n",(char *) "imageId", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14608 arg3
= (int)SWIG_As_int(obj2
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14626 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 PyObject
* obj1
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "size", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self",(char *) "sizePage", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 wxSize
* resultptr
;
14686 resultptr
= new wxSize((wxSize
&) result
);
14687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14695 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "n", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (bool)(arg1
)->DeletePage(arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14727 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "n", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)(arg1
)->RemovePage(arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (bool)(arg1
)->DeleteAllPages();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14787 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14790 wxWindow
*arg2
= (wxWindow
*) 0 ;
14791 wxString
*arg3
= 0 ;
14792 bool arg4
= (bool) False
;
14793 int arg5
= (int) -1 ;
14795 bool temp3
= False
;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 PyObject
* obj2
= 0 ;
14799 PyObject
* obj3
= 0 ;
14800 PyObject
* obj4
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 arg3
= wxString_in_helper(obj2
);
14812 if (arg3
== NULL
) SWIG_fail
;
14816 arg4
= (bool)SWIG_As_bool(obj3
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14820 arg5
= (int)SWIG_As_int(obj4
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14847 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14851 wxWindow
*arg3
= (wxWindow
*) 0 ;
14852 wxString
*arg4
= 0 ;
14853 bool arg5
= (bool) False
;
14854 int arg6
= (int) -1 ;
14856 bool temp4
= False
;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 PyObject
* obj2
= 0 ;
14860 PyObject
* obj3
= 0 ;
14861 PyObject
* obj4
= 0 ;
14862 PyObject
* obj5
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14870 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14872 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 arg4
= wxString_in_helper(obj3
);
14876 if (arg4
== NULL
) SWIG_fail
;
14880 arg5
= (bool)SWIG_As_bool(obj4
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 arg6
= (int)SWIG_As_int(obj5
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14911 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "n", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (int)(arg1
)->SetSelection(arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_From_int((int)result
);
14941 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14944 bool arg2
= (bool) True
;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "forward", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 arg2
= (bool)SWIG_As_bool(obj1
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 (arg1
)->AdvanceSelection(arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14975 wxVisualAttributes result
;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "variant", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14983 arg1
= (int)SWIG_As_int(obj0
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14987 if (!wxPyCheckForApp()) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 wxVisualAttributes
* resultptr
;
14996 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15005 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
15007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15008 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
15010 return Py_BuildValue((char *)"");
15012 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15015 int arg2
= (int) 0 ;
15016 int arg3
= (int) -1 ;
15017 int arg4
= (int) -1 ;
15018 wxBookCtrlEvent
*result
;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 PyObject
* obj2
= 0 ;
15022 PyObject
* obj3
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15029 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 arg2
= (int)SWIG_As_int(obj1
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 arg3
= (int)SWIG_As_int(obj2
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 arg4
= (int)SWIG_As_int(obj3
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15058 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_From_int((int)result
);
15084 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "nSel", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 arg2
= (int)SWIG_As_int(obj1
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 (arg1
)->SetSelection(arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 Py_INCREF(Py_None
); resultobj
= Py_None
;
15113 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_From_int((int)result
);
15139 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self",(char *) "nOldSel", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15152 arg2
= (int)SWIG_As_int(obj1
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 (arg1
)->SetOldSelection(arg2
);
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 Py_INCREF(Py_None
); resultobj
= Py_None
;
15168 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15171 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15173 return Py_BuildValue((char *)"");
15175 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxWindow
*arg1
= (wxWindow
*) 0 ;
15178 int arg2
= (int) -1 ;
15179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15183 long arg5
= (long) 0 ;
15184 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15185 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15186 wxNotebook
*result
;
15189 bool temp6
= False
;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 PyObject
* obj2
= 0 ;
15193 PyObject
* obj3
= 0 ;
15194 PyObject
* obj4
= 0 ;
15195 PyObject
* obj5
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 arg2
= (int)SWIG_As_int(obj1
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15220 arg5
= (long)SWIG_As_long(obj4
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15225 arg6
= wxString_in_helper(obj5
);
15226 if (arg6
== NULL
) SWIG_fail
;
15231 if (!wxPyCheckForApp()) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15253 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxNotebook
*result
;
15256 char *kwnames
[] = {
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15262 if (!wxPyCheckForApp()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxNotebook
*)new wxNotebook();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15276 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15279 wxWindow
*arg2
= (wxWindow
*) 0 ;
15280 int arg3
= (int) -1 ;
15281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15285 long arg6
= (long) 0 ;
15286 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15291 bool temp7
= False
;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 PyObject
* obj3
= 0 ;
15296 PyObject
* obj4
= 0 ;
15297 PyObject
* obj5
= 0 ;
15298 PyObject
* obj6
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg3
= (int)SWIG_As_int(obj2
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15325 arg6
= (long)SWIG_As_long(obj5
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15330 arg7
= wxString_in_helper(obj6
);
15331 if (arg7
== NULL
) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int((int)result
);
15385 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "padding", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "sz", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15433 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15452 wxPoint
*arg2
= 0 ;
15453 long *arg3
= (long *) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "pt", NULL
15464 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_From_int((int)result
);
15480 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15481 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15488 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "sizePage", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 wxSize
* resultptr
;
15516 resultptr
= new wxSize((wxSize
&) result
);
15517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15525 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15528 wxWindow
*arg2
= (wxWindow
*) 0 ;
15529 wxColour
*arg3
= 0 ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 PyObject
* obj2
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "window",(char *) "colour", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15545 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 Py_INCREF(Py_None
); resultobj
= Py_None
;
15561 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15564 wxVisualAttributes result
;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "variant", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15572 arg1
= (int)SWIG_As_int(obj0
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15576 if (!wxPyCheckForApp()) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15584 wxVisualAttributes
* resultptr
;
15585 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15594 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15597 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15599 return Py_BuildValue((char *)"");
15601 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15604 int arg2
= (int) 0 ;
15605 int arg3
= (int) -1 ;
15606 int arg4
= (int) -1 ;
15607 wxNotebookEvent
*result
;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 PyObject
* obj2
= 0 ;
15611 PyObject
* obj3
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15618 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 arg2
= (int)SWIG_As_int(obj1
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 arg3
= (int)SWIG_As_int(obj2
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 arg4
= (int)SWIG_As_int(obj3
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15647 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15650 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15652 return Py_BuildValue((char *)"");
15654 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxWindow
*arg1
= (wxWindow
*) 0 ;
15657 int arg2
= (int) -1 ;
15658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15662 long arg5
= (long) 0 ;
15663 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15664 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15665 wxListbook
*result
;
15668 bool temp6
= False
;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 PyObject
* obj3
= 0 ;
15673 PyObject
* obj4
= 0 ;
15674 PyObject
* obj5
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15683 arg2
= (int)SWIG_As_int(obj1
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15689 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15695 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15699 arg5
= (long)SWIG_As_long(obj4
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15704 arg6
= wxString_in_helper(obj5
);
15705 if (arg6
== NULL
) SWIG_fail
;
15710 if (!wxPyCheckForApp()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15732 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxListbook
*result
;
15735 char *kwnames
[] = {
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15741 if (!wxPyCheckForApp()) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (wxListbook
*)new wxListbook();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15755 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxListbook
*arg1
= (wxListbook
*) 0 ;
15758 wxWindow
*arg2
= (wxWindow
*) 0 ;
15759 int arg3
= (int) -1 ;
15760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15764 long arg6
= (long) 0 ;
15765 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15766 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15770 bool temp7
= False
;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 PyObject
* obj2
= 0 ;
15774 PyObject
* obj3
= 0 ;
15775 PyObject
* obj4
= 0 ;
15776 PyObject
* obj5
= 0 ;
15777 PyObject
* obj6
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 arg3
= (int)SWIG_As_int(obj2
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15794 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15800 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15804 arg6
= (long)SWIG_As_long(obj5
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15809 arg7
= wxString_in_helper(obj6
);
15810 if (arg7
== NULL
) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxListbook
*arg1
= (wxListbook
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15866 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15876 int arg2
= (int) 0 ;
15877 int arg3
= (int) -1 ;
15878 int arg4
= (int) -1 ;
15879 wxListbookEvent
*result
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 PyObject
* obj2
= 0 ;
15883 PyObject
* obj3
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15890 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 arg2
= (int)SWIG_As_int(obj1
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 arg3
= (int)SWIG_As_int(obj2
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 arg4
= (int)SWIG_As_int(obj3
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15919 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15922 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15924 return Py_BuildValue((char *)"");
15926 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15929 wxBookCtrlSizer
*result
;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "nb", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15952 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15955 PyObject
* obj0
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->RecalcSizes();
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (arg1
)->CalcMin();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 wxSize
* resultptr
;
15998 resultptr
= new wxSize((wxSize
&) result
);
15999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16007 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16010 wxBookCtrl
*result
;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16033 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16038 return Py_BuildValue((char *)"");
16040 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16043 wxNotebookSizer
*result
;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "nb", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16066 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 (arg1
)->RecalcSizes();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (arg1
)->CalcMin();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 wxSize
* resultptr
;
16112 resultptr
= new wxSize((wxSize
&) result
);
16113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16121 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16124 wxNotebook
*result
;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= wxPyMake_wxObject(result
, 0);
16149 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16152 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16154 return Py_BuildValue((char *)"");
16156 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (int)(arg1
)->GetId();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_From_int((int)result
);
16182 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (wxControl
*)(arg1
)->GetControl();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= wxPyMake_wxObject(result
, 0);
16210 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16213 wxToolBarBase
*result
;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= wxPyMake_wxObject(result
, 0);
16238 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (int)(arg1
)->IsButton();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_From_int((int)result
);
16264 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (int)(arg1
)->IsControl();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_From_int((int)result
);
16290 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (int)(arg1
)->IsSeparator();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)result
);
16316 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)(arg1
)->GetStyle();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_From_int((int)result
);
16342 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (int)(arg1
)->GetKind();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= SWIG_From_int((int)result
);
16368 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (bool)(arg1
)->IsEnabled();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16396 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (bool)(arg1
)->IsToggled();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)(arg1
)->CanBeToggled();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16452 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16468 result
= (wxBitmap
*) &_result_ref
;
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 wxBitmap
* resultptr
= new wxBitmap(*result
);
16476 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16484 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16500 result
= (wxBitmap
*) &_result_ref
;
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 wxBitmap
* resultptr
= new wxBitmap(*result
);
16508 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16516 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (arg1
)->GetBitmap();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16536 wxBitmap
* resultptr
;
16537 resultptr
= new wxBitmap((wxBitmap
&) result
);
16538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16546 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (arg1
)->GetLabel();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16578 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (arg1
)->GetShortHelp();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16610 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (arg1
)->GetLongHelp();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16642 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self",(char *) "enable", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16656 arg2
= (bool)SWIG_As_bool(obj1
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (bool)(arg1
)->Enable(arg2
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16674 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 PyObject
* obj1
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "toggle", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 arg2
= (bool)SWIG_As_bool(obj1
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (bool)(arg1
)->SetToggle(arg2
);
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16731 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16734 wxString
*arg2
= 0 ;
16736 bool temp2
= False
;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "help", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 arg2
= wxString_in_helper(obj1
);
16748 if (arg2
== NULL
) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16778 wxString
*arg2
= 0 ;
16780 bool temp2
= False
;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "help", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 arg2
= wxString_in_helper(obj1
);
16792 if (arg2
== NULL
) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16819 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16822 wxBitmap
*arg2
= 0 ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self",(char *) "bmp", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16835 if (arg2
== NULL
) {
16836 PyErr_SetString(PyExc_TypeError
,"null reference");
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16856 wxBitmap
*arg2
= 0 ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self",(char *) "bmp", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16869 if (arg2
== NULL
) {
16870 PyErr_SetString(PyExc_TypeError
,"null reference");
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16890 wxString
*arg2
= 0 ;
16891 bool temp2
= False
;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "label", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 arg2
= wxString_in_helper(obj1
);
16903 if (arg2
== NULL
) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 (arg1
)->SetLabel((wxString
const &)*arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 Py_INCREF(Py_None
); resultobj
= Py_None
;
16928 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16956 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "tbar", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 (arg1
)->Attach(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= result
;
17008 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17011 PyObject
*arg2
= (PyObject
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "clientData", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17041 return Py_BuildValue((char *)"");
17043 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17047 wxString
*arg3
= 0 ;
17048 wxBitmap
*arg4
= 0 ;
17049 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17050 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17051 int arg6
= (int) wxITEM_NORMAL
;
17052 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17054 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17055 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17056 PyObject
*arg9
= (PyObject
*) NULL
;
17057 wxToolBarToolBase
*result
;
17058 bool temp3
= False
;
17059 bool temp7
= False
;
17060 bool temp8
= False
;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 PyObject
* obj2
= 0 ;
17064 PyObject
* obj3
= 0 ;
17065 PyObject
* obj4
= 0 ;
17066 PyObject
* obj5
= 0 ;
17067 PyObject
* obj6
= 0 ;
17068 PyObject
* obj7
= 0 ;
17069 PyObject
* obj8
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 arg2
= (int)SWIG_As_int(obj1
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 arg3
= wxString_in_helper(obj2
);
17081 if (arg3
== NULL
) SWIG_fail
;
17084 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17087 if (arg4
== NULL
) {
17088 PyErr_SetString(PyExc_TypeError
,"null reference");
17092 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17095 if (arg5
== NULL
) {
17096 PyErr_SetString(PyExc_TypeError
,"null reference");
17101 arg6
= (int)SWIG_As_int(obj5
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17106 arg7
= wxString_in_helper(obj6
);
17107 if (arg7
== NULL
) SWIG_fail
;
17113 arg8
= wxString_in_helper(obj7
);
17114 if (arg8
== NULL
) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= wxPyMake_wxObject(result
, 0);
17161 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17166 wxString
*arg4
= 0 ;
17167 wxBitmap
*arg5
= 0 ;
17168 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17169 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17170 int arg7
= (int) wxITEM_NORMAL
;
17171 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17172 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17173 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17174 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17175 PyObject
*arg10
= (PyObject
*) NULL
;
17176 wxToolBarToolBase
*result
;
17177 bool temp4
= False
;
17178 bool temp8
= False
;
17179 bool temp9
= False
;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 PyObject
* obj4
= 0 ;
17185 PyObject
* obj5
= 0 ;
17186 PyObject
* obj6
= 0 ;
17187 PyObject
* obj7
= 0 ;
17188 PyObject
* obj8
= 0 ;
17189 PyObject
* obj9
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17199 arg3
= (int)SWIG_As_int(obj2
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 arg4
= wxString_in_helper(obj3
);
17203 if (arg4
== NULL
) SWIG_fail
;
17206 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17209 if (arg5
== NULL
) {
17210 PyErr_SetString(PyExc_TypeError
,"null reference");
17214 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17217 if (arg6
== NULL
) {
17218 PyErr_SetString(PyExc_TypeError
,"null reference");
17223 arg7
= (int)SWIG_As_int(obj6
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17228 arg8
= wxString_in_helper(obj7
);
17229 if (arg8
== NULL
) SWIG_fail
;
17235 arg9
= wxString_in_helper(obj8
);
17236 if (arg9
== NULL
) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 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
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= wxPyMake_wxObject(result
, 0);
17283 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17286 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17287 wxToolBarToolBase
*result
;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "tool", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= wxPyMake_wxObject(result
, 0);
17315 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17319 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17320 wxToolBarToolBase
*result
;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 PyObject
* obj2
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "pos",(char *) "tool", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17331 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17333 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= wxPyMake_wxObject(result
, 0);
17351 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17354 wxControl
*arg2
= (wxControl
*) 0 ;
17355 wxToolBarToolBase
*result
;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "control", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= wxPyMake_wxObject(result
, 0);
17383 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17387 wxControl
*arg3
= (wxControl
*) 0 ;
17388 wxToolBarToolBase
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "pos",(char *) "control", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= wxPyMake_wxObject(result
, 0);
17419 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "id", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17433 arg2
= (int)SWIG_As_int(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= wxPyMake_wxObject(result
, 0);
17451 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17454 wxToolBarToolBase
*result
;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= wxPyMake_wxObject(result
, 0);
17479 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 wxToolBarToolBase
*result
;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "pos", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= wxPyMake_wxObject(result
, 0);
17511 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17515 wxToolBarToolBase
*result
;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "id", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 arg2
= (int)SWIG_As_int(obj1
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= wxPyMake_wxObject(result
, 0);
17543 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self",(char *) "pos", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17575 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "id", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 arg2
= (int)SWIG_As_int(obj1
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->DeleteTool(arg2
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->ClearTools();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)(arg1
)->Realize();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "id",(char *) "enable", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (int)SWIG_As_int(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17677 arg3
= (bool)SWIG_As_bool(obj2
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->EnableTool(arg2
,arg3
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 PyObject
* obj2
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self",(char *) "id",(char *) "toggle", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 arg2
= (int)SWIG_As_int(obj1
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17710 arg3
= (bool)SWIG_As_bool(obj2
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 (arg1
)->ToggleTool(arg2
,arg3
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 Py_INCREF(Py_None
); resultobj
= Py_None
;
17726 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "id",(char *) "toggle", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 arg2
= (int)SWIG_As_int(obj1
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17743 arg3
= (bool)SWIG_As_bool(obj2
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->SetToggle(arg2
,arg3
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17759 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "id", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 arg2
= (int)SWIG_As_int(obj1
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
;
17789 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17793 PyObject
*arg3
= (PyObject
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "id",(char *) "clientData", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (int)SWIG_As_int(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 Py_INCREF(Py_None
); resultobj
= Py_None
;
17821 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "id", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 arg2
= (int)SWIG_As_int(obj1
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= SWIG_From_int((int)result
);
17851 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 PyObject
* obj1
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self",(char *) "id", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 arg2
= (int)SWIG_As_int(obj1
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (bool)(arg1
)->GetToolState(arg2
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17883 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "id", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17897 arg2
= (int)SWIG_As_int(obj1
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17915 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17919 wxString
*arg3
= 0 ;
17920 bool temp3
= False
;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 PyObject
* obj2
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "id",(char *) "helpString", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 arg2
= (int)SWIG_As_int(obj1
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 arg3
= wxString_in_helper(obj2
);
17935 if (arg3
== NULL
) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17960 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "id", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= (int)SWIG_As_int(obj1
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (arg1
)->GetToolShortHelp(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17996 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18000 wxString
*arg3
= 0 ;
18001 bool temp3
= False
;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "id",(char *) "helpString", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 arg2
= (int)SWIG_As_int(obj1
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 arg3
= wxString_in_helper(obj2
);
18016 if (arg3
== NULL
) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(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 *) "id", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18055 arg2
= (int)SWIG_As_int(obj1
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= (arg1
)->GetToolLongHelp(arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18077 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 PyObject
* obj2
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "x",(char *) "y", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 arg2
= (int)SWIG_As_int(obj1
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18094 arg3
= (int)SWIG_As_int(obj2
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->SetMargins(arg2
,arg3
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "size", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self",(char *) "packing", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18155 arg2
= (int)SWIG_As_int(obj1
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->SetToolPacking(arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "separation", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 arg2
= (int)SWIG_As_int(obj1
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetToolSeparation(arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (arg1
)->GetToolMargins();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 wxSize
* resultptr
;
18221 resultptr
= new wxSize((wxSize
&) result
);
18222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18230 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (arg1
)->GetMargins();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 wxSize
* resultptr
;
18251 resultptr
= new wxSize((wxSize
&) result
);
18252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18260 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (int)(arg1
)->GetToolPacking();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_From_int((int)result
);
18286 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (int)(arg1
)->GetToolSeparation();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_From_int((int)result
);
18312 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "nRows", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (int)SWIG_As_int(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->SetRows(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 PyObject
* obj2
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "rows",(char *) "cols", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 arg2
= (int)SWIG_As_int(obj1
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18358 arg3
= (int)SWIG_As_int(obj2
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (int)(arg1
)->GetMaxRows();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_From_int((int)result
);
18400 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (int)(arg1
)->GetMaxCols();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_From_int((int)result
);
18426 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "size", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 Py_INCREF(Py_None
); resultobj
= Py_None
;
18458 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (arg1
)->GetToolBitmapSize();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 wxSize
* resultptr
;
18479 resultptr
= new wxSize((wxSize
&) result
);
18480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18488 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (arg1
)->GetToolSize();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 wxSize
* resultptr
;
18509 resultptr
= new wxSize((wxSize
&) result
);
18510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18518 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18523 wxToolBarToolBase
*result
;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "x",(char *) "y", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 arg2
= (int)SWIG_As_int(obj1
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18536 arg3
= (int)SWIG_As_int(obj2
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= wxPyMake_wxObject(result
, 0);
18554 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18558 wxToolBarToolBase
*result
;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "toolid", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 arg2
= (int)SWIG_As_int(obj1
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= wxPyMake_wxObject(result
, 0);
18586 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (bool)(arg1
)->IsVertical();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18614 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18617 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18619 return Py_BuildValue((char *)"");
18621 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxWindow
*arg1
= (wxWindow
*) 0 ;
18624 int arg2
= (int) -1 ;
18625 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18626 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18627 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18628 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18629 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18630 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18631 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18635 bool temp6
= False
;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 PyObject
* obj2
= 0 ;
18639 PyObject
* obj3
= 0 ;
18640 PyObject
* obj4
= 0 ;
18641 PyObject
* obj5
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 arg2
= (int)SWIG_As_int(obj1
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18666 arg5
= (long)SWIG_As_long(obj4
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18671 arg6
= wxString_in_helper(obj5
);
18672 if (arg6
== NULL
) SWIG_fail
;
18677 if (!wxPyCheckForApp()) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18699 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18702 char *kwnames
[] = {
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18708 if (!wxPyCheckForApp()) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (wxToolBar
*)new wxToolBar();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18722 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18725 wxWindow
*arg2
= (wxWindow
*) 0 ;
18726 int arg3
= (int) -1 ;
18727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18731 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18732 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18733 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18737 bool temp7
= False
;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 PyObject
* obj2
= 0 ;
18741 PyObject
* obj3
= 0 ;
18742 PyObject
* obj4
= 0 ;
18743 PyObject
* obj5
= 0 ;
18744 PyObject
* obj6
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 arg3
= (int)SWIG_As_int(obj2
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18767 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18771 arg6
= (long)SWIG_As_long(obj5
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18776 arg7
= wxString_in_helper(obj6
);
18777 if (arg7
== NULL
) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18805 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18810 wxToolBarToolBase
*result
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 PyObject
* obj2
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "x",(char *) "y", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 arg2
= (int)SWIG_As_int(obj1
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18823 arg3
= (int)SWIG_As_int(obj2
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= wxPyMake_wxObject(result
, 0);
18841 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18844 wxVisualAttributes result
;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "variant", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18852 arg1
= (int)SWIG_As_int(obj0
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 if (!wxPyCheckForApp()) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 wxVisualAttributes
* resultptr
;
18865 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18874 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18877 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18879 return Py_BuildValue((char *)"");
18881 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18882 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18887 static PyObject
*_wrap_ListCtrlNameStr_get() {
18892 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18894 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18901 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxColour
const &arg1_defvalue
= wxNullColour
;
18904 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18905 wxColour
const &arg2_defvalue
= wxNullColour
;
18906 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18907 wxFont
const &arg3_defvalue
= wxNullFont
;
18908 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18909 wxListItemAttr
*result
;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18923 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18929 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18936 if (arg3
== NULL
) {
18937 PyErr_SetString(PyExc_TypeError
,"null reference");
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18955 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18958 wxColour
*arg2
= 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "colText", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18990 wxColour
*arg2
= 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "colBack", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self",(char *) "font", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19035 if (arg2
== NULL
) {
19036 PyErr_SetString(PyExc_TypeError
,"null reference");
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetFont((wxFont
const &)*arg2
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (bool)(arg1
)->HasTextColour();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19081 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (bool)(arg1
)->HasBackgroundColour();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19109 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (bool)(arg1
)->HasFont();
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19137 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (arg1
)->GetTextColour();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 wxColour
* resultptr
;
19158 resultptr
= new wxColour((wxColour
&) result
);
19159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19167 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (arg1
)->GetBackgroundColour();
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19187 wxColour
* resultptr
;
19188 resultptr
= new wxColour((wxColour
&) result
);
19189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19197 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (arg1
)->GetFont();
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 wxFont
* resultptr
;
19218 resultptr
= new wxFont((wxFont
&) result
);
19219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19227 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 wxListItemAttr_Destroy(arg1
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19255 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19257 return Py_BuildValue((char *)"");
19259 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxListItem
*result
;
19262 char *kwnames
[] = {
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (wxListItem
*)new wxListItem();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= wxPyMake_wxObject(result
, 1);
19283 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxListItem
*arg1
= (wxListItem
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 Py_INCREF(Py_None
); resultobj
= Py_None
;
19308 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxListItem
*arg1
= (wxListItem
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxListItem
*arg1
= (wxListItem
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->ClearAttributes();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 Py_INCREF(Py_None
); resultobj
= Py_None
;
19358 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxListItem
*arg1
= (wxListItem
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "mask", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 arg2
= (long)SWIG_As_long(obj1
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->SetMask(arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxListItem
*arg1
= (wxListItem
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "id", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 arg2
= (long)SWIG_As_long(obj1
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetId(arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxListItem
*arg1
= (wxListItem
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "col", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 arg2
= (int)SWIG_As_int(obj1
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetColumn(arg2
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxListItem
*arg1
= (wxListItem
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self",(char *) "state", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 arg2
= (long)SWIG_As_long(obj1
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->SetState(arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxListItem
*arg1
= (wxListItem
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self",(char *) "stateMask", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 arg2
= (long)SWIG_As_long(obj1
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->SetStateMask(arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 Py_INCREF(Py_None
); resultobj
= Py_None
;
19503 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxListItem
*arg1
= (wxListItem
*) 0 ;
19506 wxString
*arg2
= 0 ;
19507 bool temp2
= False
;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "text", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 arg2
= wxString_in_helper(obj1
);
19519 if (arg2
== NULL
) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->SetText((wxString
const &)*arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19544 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxListItem
*arg1
= (wxListItem
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "image", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= (int)SWIG_As_int(obj1
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 (arg1
)->SetImage(arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxListItem
*arg1
= (wxListItem
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 PyObject
* obj1
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self",(char *) "data", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 arg2
= (long)SWIG_As_long(obj1
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->SetData(arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxListItem
*arg1
= (wxListItem
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "width", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= (int)SWIG_As_int(obj1
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetWidth(arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxListItem
*arg1
= (wxListItem
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "align", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 arg2
= (int)SWIG_As_int(obj1
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxListItem
*arg1
= (wxListItem
*) 0 ;
19663 wxColour
*arg2
= 0 ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "colText", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19692 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxListItem
*arg1
= (wxListItem
*) 0 ;
19695 wxColour
*arg2
= 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "colBack", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 Py_INCREF(Py_None
); resultobj
= Py_None
;
19724 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxListItem
*arg1
= (wxListItem
*) 0 ;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self",(char *) "font", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19740 if (arg2
== NULL
) {
19741 PyErr_SetString(PyExc_TypeError
,"null reference");
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 (arg1
)->SetFont((wxFont
const &)*arg2
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 Py_INCREF(Py_None
); resultobj
= Py_None
;
19758 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxListItem
*arg1
= (wxListItem
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 result
= (long)(arg1
)->GetMask();
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= SWIG_From_long((long)result
);
19784 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxListItem
*arg1
= (wxListItem
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (long)(arg1
)->GetId();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_From_long((long)result
);
19810 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxListItem
*arg1
= (wxListItem
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (int)(arg1
)->GetColumn();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_From_int((int)result
);
19836 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxListItem
*arg1
= (wxListItem
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (long)(arg1
)->GetState();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_From_long((long)result
);
19862 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxListItem
*arg1
= (wxListItem
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 wxString
const &_result_ref
= (arg1
)->GetText();
19878 result
= (wxString
*) &_result_ref
;
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19897 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxListItem
*arg1
= (wxListItem
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (int)(arg1
)->GetImage();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_From_int((int)result
);
19923 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (long)(arg1
)->GetData();
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= SWIG_From_long((long)result
);
19949 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxListItem
*arg1
= (wxListItem
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 char *kwnames
[] = {
19955 (char *) "self", NULL
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (int)(arg1
)->GetWidth();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_From_int((int)result
);
19975 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxListItem
*arg1
= (wxListItem
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (int)(arg1
)->GetAlign();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_From_int((int)result
);
20001 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxListItem
*arg1
= (wxListItem
*) 0 ;
20004 wxListItemAttr
*result
;
20005 PyObject
* obj0
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20027 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxListItem
*arg1
= (wxListItem
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->HasAttributes();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxListItem
*arg1
= (wxListItem
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 wxColour
* resultptr
;
20076 resultptr
= new wxColour((wxColour
&) result
);
20077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20085 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxListItem
*arg1
= (wxListItem
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 wxColour
* resultptr
;
20106 resultptr
= new wxColour((wxColour
&) result
);
20107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20115 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxListItem
*arg1
= (wxListItem
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= ((wxListItem
const *)arg1
)->GetFont();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 wxFont
* resultptr
;
20136 resultptr
= new wxFont((wxFont
&) result
);
20137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20145 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxListItem
*arg1
= (wxListItem
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "m_mask", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 arg2
= (long)SWIG_As_long(obj1
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20160 if (arg1
) (arg1
)->m_mask
= arg2
;
20162 Py_INCREF(Py_None
); resultobj
= Py_None
;
20169 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxListItem
*arg1
= (wxListItem
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 result
= (long) ((arg1
)->m_mask
);
20183 resultobj
= SWIG_From_long((long)result
);
20190 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxListItem
*arg1
= (wxListItem
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 PyObject
* obj1
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self",(char *) "m_itemId", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 arg2
= (long)SWIG_As_long(obj1
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20205 if (arg1
) (arg1
)->m_itemId
= arg2
;
20207 Py_INCREF(Py_None
); resultobj
= Py_None
;
20214 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
;
20216 wxListItem
*arg1
= (wxListItem
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20226 result
= (long) ((arg1
)->m_itemId
);
20228 resultobj
= SWIG_From_long((long)result
);
20235 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListItem
*arg1
= (wxListItem
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "m_col", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= (int)SWIG_As_int(obj1
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20250 if (arg1
) (arg1
)->m_col
= arg2
;
20252 Py_INCREF(Py_None
); resultobj
= Py_None
;
20259 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxListItem
*arg1
= (wxListItem
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20271 result
= (int) ((arg1
)->m_col
);
20273 resultobj
= SWIG_From_int((int)result
);
20280 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "m_state", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 arg2
= (long)SWIG_As_long(obj1
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20295 if (arg1
) (arg1
)->m_state
= arg2
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20304 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxListItem
*arg1
= (wxListItem
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 result
= (long) ((arg1
)->m_state
);
20318 resultobj
= SWIG_From_long((long)result
);
20325 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxListItem
*arg1
= (wxListItem
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "m_stateMask", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20338 arg2
= (long)SWIG_As_long(obj1
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20340 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxListItem
*arg1
= (wxListItem
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 result
= (long) ((arg1
)->m_stateMask
);
20363 resultobj
= SWIG_From_long((long)result
);
20370 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxListItem
*arg1
= (wxListItem
*) 0 ;
20373 wxString
*arg2
= (wxString
*) 0 ;
20374 bool temp2
= False
;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self",(char *) "m_text", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 arg2
= wxString_in_helper(obj1
);
20386 if (arg2
== NULL
) SWIG_fail
;
20389 if (arg1
) (arg1
)->m_text
= *arg2
;
20391 Py_INCREF(Py_None
); resultobj
= Py_None
;
20406 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxListItem
*arg1
= (wxListItem
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 result
= (wxString
*)& ((arg1
)->m_text
);
20422 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20424 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20433 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxListItem
*arg1
= (wxListItem
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "m_image", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 arg2
= (int)SWIG_As_int(obj1
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20448 if (arg1
) (arg1
)->m_image
= arg2
;
20450 Py_INCREF(Py_None
); resultobj
= Py_None
;
20457 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxListItem
*arg1
= (wxListItem
*) 0 ;
20461 PyObject
* obj0
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20469 result
= (int) ((arg1
)->m_image
);
20471 resultobj
= SWIG_From_int((int)result
);
20478 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxListItem
*arg1
= (wxListItem
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 PyObject
* obj1
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "m_data", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 arg2
= (long)SWIG_As_long(obj1
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20493 if (arg1
) (arg1
)->m_data
= arg2
;
20495 Py_INCREF(Py_None
); resultobj
= Py_None
;
20502 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxListItem
*arg1
= (wxListItem
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20514 result
= (long) ((arg1
)->m_data
);
20516 resultobj
= SWIG_From_long((long)result
);
20523 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxListItem
*arg1
= (wxListItem
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "m_format", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 arg2
= (int)SWIG_As_int(obj1
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20538 if (arg1
) (arg1
)->m_format
= arg2
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxListItem
*arg1
= (wxListItem
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20559 result
= (int) ((arg1
)->m_format
);
20561 resultobj
= SWIG_From_int((int)result
);
20568 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxListItem
*arg1
= (wxListItem
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self",(char *) "m_width", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 arg2
= (int)SWIG_As_int(obj1
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20583 if (arg1
) (arg1
)->m_width
= arg2
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxListItem
*arg1
= (wxListItem
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20604 result
= (int) ((arg1
)->m_width
);
20606 resultobj
= SWIG_From_int((int)result
);
20613 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20616 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20618 return Py_BuildValue((char *)"");
20620 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20623 int arg2
= (int) 0 ;
20624 wxListEvent
*result
;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "commandType",(char *) "id", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 arg2
= (int)SWIG_As_int(obj1
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20654 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 PyObject
* obj1
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self",(char *) "m_code", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 arg2
= (int)SWIG_As_int(obj1
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20669 if (arg1
) (arg1
)->m_code
= arg2
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20682 PyObject
* obj0
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "self", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 result
= (int) ((arg1
)->m_code
);
20692 resultobj
= SWIG_From_int((int)result
);
20699 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self",(char *) "m_oldItemIndex", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 arg2
= (long)SWIG_As_long(obj1
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20714 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 result
= (long) ((arg1
)->m_oldItemIndex
);
20737 resultobj
= SWIG_From_long((long)result
);
20744 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "m_itemIndex", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 arg2
= (long)SWIG_As_long(obj1
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20759 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20780 result
= (long) ((arg1
)->m_itemIndex
);
20782 resultobj
= SWIG_From_long((long)result
);
20789 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "m_col", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 arg2
= (int)SWIG_As_int(obj1
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20804 if (arg1
) (arg1
)->m_col
= arg2
;
20806 Py_INCREF(Py_None
); resultobj
= Py_None
;
20813 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 result
= (int) ((arg1
)->m_col
);
20827 resultobj
= SWIG_From_int((int)result
);
20834 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20837 wxPoint
*arg2
= (wxPoint
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self",(char *) "m_pointDrag", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20849 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20851 Py_INCREF(Py_None
); resultobj
= Py_None
;
20858 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20879 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20882 wxListItem
*result
;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 result
= (wxListItem
*)& ((arg1
)->m_item
);
20894 resultobj
= wxPyMake_wxObject(result
, 0);
20902 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)(arg1
)->GetKeyCode();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_From_int((int)result
);
20928 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (long)(arg1
)->GetIndex();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_long((long)result
);
20954 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (int)(arg1
)->GetColumn();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_From_int((int)result
);
20980 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (arg1
)->GetPoint();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
21000 wxPoint
* resultptr
;
21001 resultptr
= new wxPoint((wxPoint
&) result
);
21002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21010 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 wxString
const &_result_ref
= (arg1
)->GetLabel();
21026 result
= (wxString
*) &_result_ref
;
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21045 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 wxString
const &_result_ref
= (arg1
)->GetText();
21061 result
= (wxString
*) &_result_ref
;
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21080 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (int)(arg1
)->GetImage();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_From_int((int)result
);
21106 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (long)(arg1
)->GetData();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_long((long)result
);
21132 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (long)(arg1
)->GetMask();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_From_long((long)result
);
21158 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21161 wxListItem
*result
;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21174 result
= (wxListItem
*) &_result_ref
;
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21187 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (long)(arg1
)->GetCacheFrom();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_From_long((long)result
);
21213 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21217 PyObject
* obj0
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "self", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (long)(arg1
)->GetCacheTo();
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_From_long((long)result
);
21239 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21267 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "editCancelled", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 arg2
= (bool)SWIG_As_bool(obj1
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 (arg1
)->SetEditCanceled(arg2
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 Py_INCREF(Py_None
); resultobj
= Py_None
;
21296 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21299 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21301 return Py_BuildValue((char *)"");
21303 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxWindow
*arg1
= (wxWindow
*) 0 ;
21306 int arg2
= (int) -1 ;
21307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21311 long arg5
= (long) wxLC_ICON
;
21312 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21313 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21314 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21316 wxPyListCtrl
*result
;
21319 bool temp7
= False
;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 PyObject
* obj3
= 0 ;
21324 PyObject
* obj4
= 0 ;
21325 PyObject
* obj5
= 0 ;
21326 PyObject
* obj6
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 arg2
= (int)SWIG_As_int(obj1
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21351 arg5
= (long)SWIG_As_long(obj4
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21358 if (arg6
== NULL
) {
21359 PyErr_SetString(PyExc_TypeError
,"null reference");
21365 arg7
= wxString_in_helper(obj6
);
21366 if (arg7
== NULL
) SWIG_fail
;
21371 if (!wxPyCheckForApp()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21393 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxPyListCtrl
*result
;
21396 char *kwnames
[] = {
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21402 if (!wxPyCheckForApp()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21416 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21419 wxWindow
*arg2
= (wxWindow
*) 0 ;
21420 int arg3
= (int) -1 ;
21421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21425 long arg6
= (long) wxLC_ICON
;
21426 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21427 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21428 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21429 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21433 bool temp8
= False
;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 PyObject
* obj3
= 0 ;
21438 PyObject
* obj4
= 0 ;
21439 PyObject
* obj5
= 0 ;
21440 PyObject
* obj6
= 0 ;
21441 PyObject
* obj7
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21452 arg3
= (int)SWIG_As_int(obj2
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21468 arg6
= (long)SWIG_As_long(obj5
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21475 if (arg7
== NULL
) {
21476 PyErr_SetString(PyExc_TypeError
,"null reference");
21482 arg8
= wxString_in_helper(obj7
);
21483 if (arg8
== NULL
) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21514 PyObject
*arg2
= (PyObject
*) 0 ;
21515 PyObject
*arg3
= (PyObject
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 PyObject
* obj2
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self",(char *) "self",(char *) "_class", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21545 wxColour
*arg2
= 0 ;
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_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21577 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21580 wxColour
*arg2
= 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "col", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21612 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21616 wxListItem
*result
;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "col", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 arg2
= (int)SWIG_As_int(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= wxPyMake_wxObject(result
, 0);
21644 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21648 wxListItem
*arg3
= 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 PyObject
* obj2
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "col",(char *) "item", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 arg2
= (int)SWIG_As_int(obj1
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21662 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21665 if (arg3
== NULL
) {
21666 PyErr_SetString(PyExc_TypeError
,"null reference");
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21685 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "col", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg2
= (int)SWIG_As_int(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_From_int((int)result
);
21715 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 PyObject
* obj2
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self",(char *) "col",(char *) "width", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 arg2
= (int)SWIG_As_int(obj1
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21733 arg3
= (int)SWIG_As_int(obj2
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21751 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_From_int((int)result
);
21777 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 wxRect
* resultptr
;
21798 resultptr
= new wxRect((wxRect
&) result
);
21799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21807 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21810 wxTextCtrl
*result
;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= wxPyMake_wxObject(result
, 0);
21835 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21839 int arg3
= (int) 0 ;
21840 wxListItem
*result
;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "itemId",(char *) "col", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 arg2
= (long)SWIG_As_long(obj1
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 arg3
= (int)SWIG_As_int(obj2
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= wxPyMake_wxObject(result
, 0);
21873 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21876 wxListItem
*arg2
= 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "info", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21890 if (arg2
== NULL
) {
21891 PyErr_SetString(PyExc_TypeError
,"null reference");
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)(arg1
)->SetItem(*arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21915 wxString
*arg4
= 0 ;
21916 int arg5
= (int) -1 ;
21918 bool temp4
= False
;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 PyObject
* obj2
= 0 ;
21922 PyObject
* obj3
= 0 ;
21923 PyObject
* obj4
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 arg2
= (long)SWIG_As_long(obj1
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21933 arg3
= (int)SWIG_As_int(obj2
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 arg4
= wxString_in_helper(obj3
);
21937 if (arg4
== NULL
) SWIG_fail
;
21941 arg5
= (int)SWIG_As_int(obj4
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_From_long((long)result
);
21966 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21982 arg2
= (long)SWIG_As_long(obj1
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21984 arg3
= (long)SWIG_As_long(obj2
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= SWIG_From_int((int)result
);
22000 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 PyObject
* obj3
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 arg2
= (long)SWIG_As_long(obj1
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22020 arg3
= (long)SWIG_As_long(obj2
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22022 arg4
= (long)SWIG_As_long(obj3
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22040 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 PyObject
* obj2
= 0 ;
22050 PyObject
* obj3
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (long)SWIG_As_long(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22060 arg3
= (int)SWIG_As_int(obj2
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22062 arg4
= (int)SWIG_As_int(obj3
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22080 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "item", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 arg2
= (long)SWIG_As_long(obj1
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22116 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22120 wxString
*arg3
= 0 ;
22121 bool temp3
= False
;
22122 PyObject
* obj0
= 0 ;
22123 PyObject
* obj1
= 0 ;
22124 PyObject
* obj2
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "item",(char *) "str", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 arg2
= (long)SWIG_As_long(obj1
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 arg3
= wxString_in_helper(obj2
);
22136 if (arg3
== NULL
) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22161 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "item", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 arg2
= (long)SWIG_As_long(obj1
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_From_long((long)result
);
22191 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 PyObject
* obj2
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self",(char *) "item",(char *) "data", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 arg2
= (long)SWIG_As_long(obj1
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22209 arg3
= (long)SWIG_As_long(obj2
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22227 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "item", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22241 arg2
= (long)SWIG_As_long(obj1
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 wxPoint
* resultptr
;
22252 resultptr
= new wxPoint((wxPoint
&) result
);
22253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22261 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22265 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 PyObject
* obj2
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "item",(char *) "code", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 arg2
= (long)SWIG_As_long(obj1
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 arg3
= (int)SWIG_As_int(obj2
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 wxRect
* resultptr
;
22292 resultptr
= new wxRect((wxRect
&) result
);
22293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22301 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22305 wxPoint
*arg3
= 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 PyObject
* obj2
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self",(char *) "item",(char *) "pos", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22318 arg2
= (long)SWIG_As_long(obj1
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_From_int((int)result
);
22366 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_From_int((int)result
);
22392 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 wxSize
* resultptr
;
22413 resultptr
= new wxSize((wxSize
&) result
);
22414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22422 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_From_int((int)result
);
22448 static PyObject
*_wrap_ListCtrl_GetTextColour(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_GetTextColour",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
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 wxColour
* resultptr
;
22469 resultptr
= new wxColour((wxColour
&) result
);
22470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22478 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22481 wxColour
*arg2
= 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self",(char *) "col", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 Py_INCREF(Py_None
); resultobj
= Py_None
;
22510 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_From_long((long)result
);
22536 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22540 bool arg3
= (bool) True
;
22541 PyObject
* obj0
= 0 ;
22542 PyObject
* obj1
= 0 ;
22543 PyObject
* obj2
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "style",(char *) "add", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 arg2
= (long)SWIG_As_long(obj1
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 arg3
= (bool)SWIG_As_bool(obj2
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetSingleStyle(arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "style", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 arg2
= (long)SWIG_As_long(obj1
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->SetWindowStyleFlag(arg2
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 Py_INCREF(Py_None
); resultobj
= Py_None
;
22600 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22604 int arg3
= (int) wxLIST_NEXT_ALL
;
22605 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 PyObject
* obj3
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 arg2
= (long)SWIG_As_long(obj1
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 arg3
= (int)SWIG_As_int(obj2
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 arg4
= (int)SWIG_As_int(obj3
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_From_long((long)result
);
22642 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22646 wxImageList
*result
;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "which", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 arg2
= (int)SWIG_As_int(obj1
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= wxPyMake_wxObject(result
, 0);
22674 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22677 wxImageList
*arg2
= (wxImageList
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 PyObject
* obj2
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "imageList",(char *) "which", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 arg3
= (int)SWIG_As_int(obj2
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->SetImageList(arg2
,arg3
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22710 wxImageList
*arg2
= (wxImageList
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self",(char *) "imageList",(char *) "which", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22723 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22724 arg3
= (int)SWIG_As_int(obj2
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 (arg1
)->AssignImageList(arg2
,arg3
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 Py_INCREF(Py_None
); resultobj
= Py_None
;
22740 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22768 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22796 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "item", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 arg2
= (long)SWIG_As_long(obj1
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 (arg1
)->RefreshItem(arg2
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 Py_INCREF(Py_None
); resultobj
= Py_None
;
22825 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 PyObject
* obj2
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 arg2
= (long)SWIG_As_long(obj1
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22842 arg3
= (long)SWIG_As_long(obj2
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->RefreshItems(arg2
,arg3
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 Py_INCREF(Py_None
); resultobj
= Py_None
;
22858 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22861 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "flag", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (int)SWIG_As_int(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (bool)(arg1
)->Arrange(arg2
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22892 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "item", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (long)SWIG_As_long(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (bool)(arg1
)->DeleteItem(arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22924 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (bool)(arg1
)->DeleteAllItems();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22952 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "col", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 arg2
= (int)SWIG_As_int(obj1
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22984 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (bool)(arg1
)->DeleteAllColumns();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23012 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 (arg1
)->ClearAll();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 Py_INCREF(Py_None
); resultobj
= Py_None
;
23037 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23041 wxTextCtrl
*result
;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "item", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 arg2
= (long)SWIG_As_long(obj1
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= wxPyMake_wxObject(result
, 0);
23069 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "cancel", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 arg2
= (bool)SWIG_As_bool(obj1
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23101 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "item", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 arg2
= (long)SWIG_As_long(obj1
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23133 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23137 wxString
*arg3
= 0 ;
23138 bool arg4
= (bool) False
;
23140 bool temp3
= False
;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 PyObject
* obj2
= 0 ;
23144 PyObject
* obj3
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 arg2
= (long)SWIG_As_long(obj1
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 arg3
= wxString_in_helper(obj2
);
23156 if (arg3
== NULL
) SWIG_fail
;
23160 arg4
= (bool)SWIG_As_bool(obj3
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_From_long((long)result
);
23185 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 PyObject
* obj2
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "start",(char *) "data", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 arg2
= (long)SWIG_As_long(obj1
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23203 arg3
= (long)SWIG_As_long(obj2
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= SWIG_From_long((long)result
);
23219 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23223 wxPoint
*arg3
= 0 ;
23227 PyObject
* obj0
= 0 ;
23228 PyObject
* obj1
= 0 ;
23229 PyObject
* obj2
= 0 ;
23230 PyObject
* obj3
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 arg2
= (long)SWIG_As_long(obj1
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23244 arg4
= (int)SWIG_As_int(obj3
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_From_long((long)result
);
23260 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23263 wxPoint
*arg2
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "point", NULL
23275 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_From_long((long)result
);
23291 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23292 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23299 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23302 wxListItem
*arg2
= 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "info", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23316 if (arg2
== NULL
) {
23317 PyErr_SetString(PyExc_TypeError
,"null reference");
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (long)(arg1
)->InsertItem(*arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_From_long((long)result
);
23334 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23338 wxString
*arg3
= 0 ;
23340 bool temp3
= False
;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 PyObject
* obj2
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "index",(char *) "label", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 arg2
= (long)SWIG_As_long(obj1
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 arg3
= wxString_in_helper(obj2
);
23355 if (arg3
== NULL
) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= SWIG_From_long((long)result
);
23380 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 arg2
= (long)SWIG_As_long(obj1
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23398 arg3
= (int)SWIG_As_int(obj2
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= SWIG_From_long((long)result
);
23414 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23418 wxString
*arg3
= 0 ;
23421 bool temp3
= False
;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 PyObject
* obj2
= 0 ;
23425 PyObject
* obj3
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23433 arg2
= (long)SWIG_As_long(obj1
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 arg3
= wxString_in_helper(obj2
);
23437 if (arg3
== NULL
) SWIG_fail
;
23440 arg4
= (int)SWIG_As_int(obj3
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_From_long((long)result
);
23464 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23468 wxListItem
*arg3
= 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 PyObject
* obj2
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "col",(char *) "info", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 arg2
= (long)SWIG_As_long(obj1
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23482 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23485 if (arg3
== NULL
) {
23486 PyErr_SetString(PyExc_TypeError
,"null reference");
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_From_long((long)result
);
23503 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23507 wxString
*arg3
= 0 ;
23508 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23509 int arg5
= (int) -1 ;
23511 bool temp3
= False
;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 PyObject
* obj2
= 0 ;
23515 PyObject
* obj3
= 0 ;
23516 PyObject
* obj4
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 arg2
= (long)SWIG_As_long(obj1
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 arg3
= wxString_in_helper(obj2
);
23528 if (arg3
== NULL
) SWIG_fail
;
23532 arg4
= (int)SWIG_As_int(obj3
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 arg5
= (int)SWIG_As_int(obj4
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_From_long((long)result
);
23561 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self",(char *) "count", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 arg2
= (long)SWIG_As_long(obj1
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->SetItemCount(arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 Py_INCREF(Py_None
); resultobj
= Py_None
;
23590 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 PyObject
* obj2
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self",(char *) "dx",(char *) "dy", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 arg2
= (int)SWIG_As_int(obj1
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23608 arg3
= (int)SWIG_As_int(obj2
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23630 wxColour
*arg3
= 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 PyObject
* obj2
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self",(char *) "item",(char *) "col", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 arg2
= (long)SWIG_As_long(obj1
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self",(char *) "item", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 arg2
= (long)SWIG_As_long(obj1
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23686 wxColour
* resultptr
;
23687 resultptr
= new wxColour((wxColour
&) result
);
23688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23696 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
;
23698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23700 wxColour
*arg3
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 PyObject
* obj2
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self",(char *) "item",(char *) "col", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23712 arg2
= (long)SWIG_As_long(obj1
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23716 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 Py_INCREF(Py_None
); resultobj
= Py_None
;
23732 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self",(char *) "item", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 arg2
= (long)SWIG_As_long(obj1
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 wxColour
* resultptr
;
23757 resultptr
= new wxColour((wxColour
&) result
);
23758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23766 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23769 PyObject
*arg2
= (PyObject
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self",(char *) "func", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23797 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= wxPyMake_wxObject(result
, 0);
23825 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23828 wxVisualAttributes result
;
23829 PyObject
* obj0
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "variant", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23836 arg1
= (int)SWIG_As_int(obj0
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 if (!wxPyCheckForApp()) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23848 wxVisualAttributes
* resultptr
;
23849 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23858 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23861 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23863 return Py_BuildValue((char *)"");
23865 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxWindow
*arg1
= (wxWindow
*) 0 ;
23868 int arg2
= (int) -1 ;
23869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23873 long arg5
= (long) wxLC_REPORT
;
23874 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23875 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23876 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23878 wxListView
*result
;
23881 bool temp7
= False
;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 PyObject
* obj2
= 0 ;
23885 PyObject
* obj3
= 0 ;
23886 PyObject
* obj4
= 0 ;
23887 PyObject
* obj5
= 0 ;
23888 PyObject
* obj6
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23897 arg2
= (int)SWIG_As_int(obj1
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23913 arg5
= (long)SWIG_As_long(obj4
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23920 if (arg6
== NULL
) {
23921 PyErr_SetString(PyExc_TypeError
,"null reference");
23927 arg7
= wxString_in_helper(obj6
);
23928 if (arg7
== NULL
) SWIG_fail
;
23933 if (!wxPyCheckForApp()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23955 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxListView
*result
;
23958 char *kwnames
[] = {
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23964 if (!wxPyCheckForApp()) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (wxListView
*)new wxListView();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23978 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxListView
*arg1
= (wxListView
*) 0 ;
23981 wxWindow
*arg2
= (wxWindow
*) 0 ;
23982 int arg3
= (int) -1 ;
23983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23987 long arg6
= (long) wxLC_REPORT
;
23988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23990 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23995 bool temp8
= False
;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 PyObject
* obj4
= 0 ;
24001 PyObject
* obj5
= 0 ;
24002 PyObject
* obj6
= 0 ;
24003 PyObject
* obj7
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 arg3
= (int)SWIG_As_int(obj2
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24030 arg6
= (long)SWIG_As_long(obj5
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24037 if (arg7
== NULL
) {
24038 PyErr_SetString(PyExc_TypeError
,"null reference");
24044 arg8
= wxString_in_helper(obj7
);
24045 if (arg8
== NULL
) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24073 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxListView
*arg1
= (wxListView
*) 0 ;
24077 bool arg3
= (bool) True
;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self",(char *) "n",(char *) "on", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 arg2
= (long)SWIG_As_long(obj1
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 arg3
= (bool)SWIG_As_bool(obj2
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 (arg1
)->Select(arg2
,arg3
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 Py_INCREF(Py_None
); resultobj
= Py_None
;
24108 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24110 wxListView
*arg1
= (wxListView
*) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "index", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 arg2
= (long)SWIG_As_long(obj1
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 (arg1
)->Focus(arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 Py_INCREF(Py_None
); resultobj
= Py_None
;
24137 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxListView
*arg1
= (wxListView
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_From_long((long)result
);
24163 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxListView
*arg1
= (wxListView
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self",(char *) "item", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 arg2
= (long)SWIG_As_long(obj1
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_From_long((long)result
);
24193 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxListView
*arg1
= (wxListView
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_From_long((long)result
);
24219 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxListView
*arg1
= (wxListView
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "index", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 arg2
= (long)SWIG_As_long(obj1
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)(arg1
)->IsSelected(arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxListView
*arg1
= (wxListView
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 PyObject
* obj2
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "col",(char *) "image", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 arg2
= (int)SWIG_As_int(obj1
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24268 arg3
= (int)SWIG_As_int(obj2
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 (arg1
)->SetColumnImage(arg2
,arg3
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 Py_INCREF(Py_None
); resultobj
= Py_None
;
24284 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxListView
*arg1
= (wxListView
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self",(char *) "col", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 arg2
= (int)SWIG_As_int(obj1
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 (arg1
)->ClearColumnImage(arg2
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 Py_INCREF(Py_None
); resultobj
= Py_None
;
24313 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24316 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24318 return Py_BuildValue((char *)"");
24320 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24321 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24326 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24331 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24333 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24340 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxTreeItemId
*result
;
24343 char *kwnames
[] = {
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxTreeItemId
*)new wxTreeItemId();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24362 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 Py_INCREF(Py_None
); resultobj
= Py_None
;
24387 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24415 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24418 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "other", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24447 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24450 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self",(char *) "other", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24479 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24482 void *arg2
= (void *) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "m_pItem", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24492 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24493 if (arg1
) (arg1
)->m_pItem
= arg2
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 result
= (void *) ((arg1
)->m_pItem
);
24516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24523 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24526 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24528 return Py_BuildValue((char *)"");
24530 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 PyObject
*arg1
= (PyObject
*) NULL
;
24533 wxPyTreeItemData
*result
;
24534 PyObject
* obj0
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "obj", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24557 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (PyObject
*)(arg1
)->GetData();
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= result
;
24583 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24586 PyObject
*arg2
= (PyObject
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self",(char *) "obj", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 (arg1
)->SetData(arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 Py_INCREF(Py_None
); resultobj
= Py_None
;
24611 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24614 wxTreeItemId
*result
;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24627 result
= (wxTreeItemId
*) &_result_ref
;
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24640 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24643 wxTreeItemId
*arg2
= 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self",(char *) "id", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24656 if (arg2
== NULL
) {
24657 PyErr_SetString(PyExc_TypeError
,"null reference");
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 wxPyTreeItemData_Destroy(arg1
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 Py_INCREF(Py_None
); resultobj
= Py_None
;
24699 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24702 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24704 return Py_BuildValue((char *)"");
24706 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24709 int arg2
= (int) 0 ;
24710 wxTreeEvent
*result
;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "commandType",(char *) "id", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 arg2
= (int)SWIG_As_int(obj1
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24740 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24743 wxTreeItemId result
;
24744 PyObject
* obj0
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24760 wxTreeItemId
* resultptr
;
24761 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24770 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24773 wxTreeItemId
*arg2
= 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "item", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24786 if (arg2
== NULL
) {
24787 PyErr_SetString(PyExc_TypeError
,"null reference");
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24807 wxTreeItemId result
;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 wxTreeItemId
* resultptr
;
24825 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24834 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24837 wxTreeItemId
*arg2
= 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "item", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24850 if (arg2
== NULL
) {
24851 PyErr_SetString(PyExc_TypeError
,"null reference");
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24868 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24888 wxPoint
* resultptr
;
24889 resultptr
= new wxPoint((wxPoint
&) result
);
24890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24898 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24901 wxPoint
*arg2
= 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self",(char *) "pt", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24933 wxKeyEvent
*result
;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24946 result
= (wxKeyEvent
*) &_result_ref
;
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24959 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_From_int((int)result
);
24985 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24988 wxKeyEvent
*arg2
= 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "evt", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25001 if (arg2
== NULL
) {
25002 PyErr_SetString(PyExc_TypeError
,"null reference");
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25023 PyObject
* obj0
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25035 result
= (wxString
*) &_result_ref
;
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25054 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25057 wxString
*arg2
= 0 ;
25058 bool temp2
= False
;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "label", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25069 arg2
= wxString_in_helper(obj1
);
25070 if (arg2
== NULL
) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetLabel((wxString
const &)*arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25123 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25127 PyObject
* obj0
= 0 ;
25128 PyObject
* obj1
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "editCancelled", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 arg2
= (bool)SWIG_As_bool(obj1
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 (arg1
)->SetEditCanceled(arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 Py_INCREF(Py_None
); resultobj
= Py_None
;
25152 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25155 wxString
*arg2
= 0 ;
25156 bool temp2
= False
;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self",(char *) "toolTip", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25167 arg2
= wxString_in_helper(obj1
);
25168 if (arg2
== NULL
) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25193 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25196 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25198 return Py_BuildValue((char *)"");
25200 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25203 int arg2
= (int) -1 ;
25204 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25205 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25206 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25207 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25208 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25209 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25210 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25211 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25213 wxPyTreeCtrl
*result
;
25216 bool temp7
= False
;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj2
= 0 ;
25220 PyObject
* obj3
= 0 ;
25221 PyObject
* obj4
= 0 ;
25222 PyObject
* obj5
= 0 ;
25223 PyObject
* obj6
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 arg2
= (int)SWIG_As_int(obj1
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25248 arg5
= (long)SWIG_As_long(obj4
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25252 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25255 if (arg6
== NULL
) {
25256 PyErr_SetString(PyExc_TypeError
,"null reference");
25262 arg7
= wxString_in_helper(obj6
);
25263 if (arg7
== NULL
) SWIG_fail
;
25268 if (!wxPyCheckForApp()) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25290 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
;
25292 wxPyTreeCtrl
*result
;
25293 char *kwnames
[] = {
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25299 if (!wxPyCheckForApp()) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25313 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25316 wxWindow
*arg2
= (wxWindow
*) 0 ;
25317 int arg3
= (int) -1 ;
25318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25322 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25323 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25324 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25325 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25330 bool temp8
= False
;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 PyObject
* obj2
= 0 ;
25334 PyObject
* obj3
= 0 ;
25335 PyObject
* obj4
= 0 ;
25336 PyObject
* obj5
= 0 ;
25337 PyObject
* obj6
= 0 ;
25338 PyObject
* obj7
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25349 arg3
= (int)SWIG_As_int(obj2
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25365 arg6
= (long)SWIG_As_long(obj5
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25369 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25372 if (arg7
== NULL
) {
25373 PyErr_SetString(PyExc_TypeError
,"null reference");
25379 arg8
= wxString_in_helper(obj7
);
25380 if (arg8
== NULL
) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25408 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25411 PyObject
*arg2
= (PyObject
*) 0 ;
25412 PyObject
*arg3
= (PyObject
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 PyObject
* obj2
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "self",(char *) "_class", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 Py_INCREF(Py_None
); resultobj
= Py_None
;
25439 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25465 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25468 unsigned int result
;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25491 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25494 unsigned int arg2
;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "indent", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->SetIndent(arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25523 unsigned int result
;
25524 PyObject
* obj0
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25546 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 unsigned int arg2
;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self",(char *) "spacing", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25559 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->SetSpacing(arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 Py_INCREF(Py_None
); resultobj
= Py_None
;
25575 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25578 wxImageList
*result
;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= wxPyMake_wxObject(result
, 0);
25603 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25606 wxImageList
*result
;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= wxPyMake_wxObject(result
, 0);
25631 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25634 wxImageList
*arg2
= (wxImageList
*) 0 ;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "imageList", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetImageList(arg2
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 Py_INCREF(Py_None
); resultobj
= Py_None
;
25660 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25663 wxImageList
*arg2
= (wxImageList
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "imageList", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 (arg1
)->SetStateImageList(arg2
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 Py_INCREF(Py_None
); resultobj
= Py_None
;
25689 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25692 wxImageList
*arg2
= (wxImageList
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "imageList", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25703 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 (arg1
)->AssignImageList(arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 Py_INCREF(Py_None
); resultobj
= Py_None
;
25718 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25721 wxImageList
*arg2
= (wxImageList
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self",(char *) "imageList", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25732 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 (arg1
)->AssignStateImageList(arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 Py_INCREF(Py_None
); resultobj
= Py_None
;
25747 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25750 wxTreeItemId
*arg2
= 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 char *kwnames
[] = {
25755 (char *) "self",(char *) "item", NULL
25758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25764 if (arg2
== NULL
) {
25765 PyErr_SetString(PyExc_TypeError
,"null reference");
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25788 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25792 int arg3
= (int) wxTreeItemIcon_Normal
;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "item",(char *) "which", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25807 if (arg2
== NULL
) {
25808 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 arg3
= (int)SWIG_As_int(obj2
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_From_int((int)result
);
25829 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25832 wxTreeItemId
*arg2
= 0 ;
25833 wxPyTreeItemData
*result
;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "item", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25846 if (arg2
== NULL
) {
25847 PyErr_SetString(PyExc_TypeError
,"null reference");
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25864 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25867 wxTreeItemId
*arg2
= 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "item", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25881 if (arg2
== NULL
) {
25882 PyErr_SetString(PyExc_TypeError
,"null reference");
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
;
25899 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25902 wxTreeItemId
*arg2
= 0 ;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 char *kwnames
[] = {
25907 (char *) "self",(char *) "item", NULL
25910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25916 if (arg2
== NULL
) {
25917 PyErr_SetString(PyExc_TypeError
,"null reference");
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25928 wxColour
* resultptr
;
25929 resultptr
= new wxColour((wxColour
&) result
);
25930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25938 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25941 wxTreeItemId
*arg2
= 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self",(char *) "item", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25955 if (arg2
== NULL
) {
25956 PyErr_SetString(PyExc_TypeError
,"null reference");
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25967 wxColour
* resultptr
;
25968 resultptr
= new wxColour((wxColour
&) result
);
25969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25977 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25980 wxTreeItemId
*arg2
= 0 ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "item", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25994 if (arg2
== NULL
) {
25995 PyErr_SetString(PyExc_TypeError
,"null reference");
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 wxFont
* resultptr
;
26007 resultptr
= new wxFont((wxFont
&) result
);
26008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26016 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26019 wxTreeItemId
*arg2
= 0 ;
26020 wxString
*arg3
= 0 ;
26021 bool temp3
= False
;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "item",(char *) "text", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26035 if (arg2
== NULL
) {
26036 PyErr_SetString(PyExc_TypeError
,"null reference");
26040 arg3
= wxString_in_helper(obj2
);
26041 if (arg3
== NULL
) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 Py_INCREF(Py_None
); resultobj
= Py_None
;
26066 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26069 wxTreeItemId
*arg2
= 0 ;
26071 int arg4
= (int) wxTreeItemIcon_Normal
;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 PyObject
* obj2
= 0 ;
26075 PyObject
* obj3
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26086 if (arg2
== NULL
) {
26087 PyErr_SetString(PyExc_TypeError
,"null reference");
26090 arg3
= (int)SWIG_As_int(obj2
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 arg4
= (int)SWIG_As_int(obj3
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 Py_INCREF(Py_None
); resultobj
= Py_None
;
26110 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26113 wxTreeItemId
*arg2
= 0 ;
26114 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 PyObject
* obj2
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "item",(char *) "data", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26128 if (arg2
== NULL
) {
26129 PyErr_SetString(PyExc_TypeError
,"null reference");
26132 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26151 wxTreeItemId
*arg2
= 0 ;
26152 PyObject
*arg3
= (PyObject
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "item",(char *) "obj", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26166 if (arg2
== NULL
) {
26167 PyErr_SetString(PyExc_TypeError
,"null reference");
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26188 wxTreeItemId
*arg2
= 0 ;
26189 bool arg3
= (bool) True
;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item",(char *) "has", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26203 if (arg2
== NULL
) {
26204 PyErr_SetString(PyExc_TypeError
,"null reference");
26208 arg3
= (bool)SWIG_As_bool(obj2
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 Py_INCREF(Py_None
); resultobj
= Py_None
;
26225 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26228 wxTreeItemId
*arg2
= 0 ;
26229 bool arg3
= (bool) True
;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 PyObject
* obj2
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "item",(char *) "bold", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26243 if (arg2
== NULL
) {
26244 PyErr_SetString(PyExc_TypeError
,"null reference");
26248 arg3
= (bool)SWIG_As_bool(obj2
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26265 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26268 wxTreeItemId
*arg2
= 0 ;
26269 bool arg3
= (bool) True
;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 PyObject
* obj2
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self",(char *) "item",(char *) "highlight", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26283 if (arg2
== NULL
) {
26284 PyErr_SetString(PyExc_TypeError
,"null reference");
26288 arg3
= (bool)SWIG_As_bool(obj2
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 Py_INCREF(Py_None
); resultobj
= Py_None
;
26305 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26308 wxTreeItemId
*arg2
= 0 ;
26309 wxColour
*arg3
= 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 PyObject
* obj2
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "item",(char *) "col", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26324 if (arg2
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference");
26330 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 Py_INCREF(Py_None
); resultobj
= Py_None
;
26346 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26349 wxTreeItemId
*arg2
= 0 ;
26350 wxColour
*arg3
= 0 ;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "item",(char *) "col", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26365 if (arg2
== NULL
) {
26366 PyErr_SetString(PyExc_TypeError
,"null reference");
26371 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26390 wxTreeItemId
*arg2
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 PyObject
* obj2
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self",(char *) "item",(char *) "font", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26405 if (arg2
== NULL
) {
26406 PyErr_SetString(PyExc_TypeError
,"null reference");
26409 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26412 if (arg3
== NULL
) {
26413 PyErr_SetString(PyExc_TypeError
,"null reference");
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 Py_INCREF(Py_None
); resultobj
= Py_None
;
26430 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26433 wxTreeItemId
*arg2
= 0 ;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "item", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26447 if (arg2
== NULL
) {
26448 PyErr_SetString(PyExc_TypeError
,"null reference");
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26467 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26470 wxTreeItemId
*arg2
= 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "item", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26484 if (arg2
== NULL
) {
26485 PyErr_SetString(PyExc_TypeError
,"null reference");
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26504 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26507 wxTreeItemId
*arg2
= 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "item", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26521 if (arg2
== NULL
) {
26522 PyErr_SetString(PyExc_TypeError
,"null reference");
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26541 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26544 wxTreeItemId
*arg2
= 0 ;
26546 PyObject
* obj0
= 0 ;
26547 PyObject
* obj1
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self",(char *) "item", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26558 if (arg2
== NULL
) {
26559 PyErr_SetString(PyExc_TypeError
,"null reference");
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26578 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26581 wxTreeItemId
*arg2
= 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "item", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26595 if (arg2
== NULL
) {
26596 PyErr_SetString(PyExc_TypeError
,"null reference");
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26615 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26618 wxTreeItemId
*arg2
= 0 ;
26619 bool arg3
= (bool) True
;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 PyObject
* obj2
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self",(char *) "item",(char *) "recursively", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26634 if (arg2
== NULL
) {
26635 PyErr_SetString(PyExc_TypeError
,"null reference");
26639 arg3
= (bool)SWIG_As_bool(obj2
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26656 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26659 wxTreeItemId result
;
26660 PyObject
* obj0
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 wxTreeItemId
* resultptr
;
26677 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26686 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26689 wxTreeItemId result
;
26690 PyObject
* obj0
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 wxTreeItemId
* resultptr
;
26707 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26716 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= result
;
26742 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
;
26744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26745 wxTreeItemId
*arg2
= 0 ;
26746 wxTreeItemId result
;
26747 PyObject
* obj0
= 0 ;
26748 PyObject
* obj1
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self",(char *) "item", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26759 if (arg2
== NULL
) {
26760 PyErr_SetString(PyExc_TypeError
,"null reference");
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 wxTreeItemId
* resultptr
;
26772 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26781 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26784 wxTreeItemId
*arg2
= 0 ;
26786 PyObject
* obj0
= 0 ;
26787 PyObject
* obj1
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "self",(char *) "item", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26798 if (arg2
== NULL
) {
26799 PyErr_SetString(PyExc_TypeError
,"null reference");
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= result
;
26816 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26819 wxTreeItemId
*arg2
= 0 ;
26820 void *arg3
= (void *) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 PyObject
* obj2
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self",(char *) "item",(char *) "cookie", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26835 if (arg2
== NULL
) {
26836 PyErr_SetString(PyExc_TypeError
,"null reference");
26839 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= result
;
26854 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26857 wxTreeItemId
*arg2
= 0 ;
26858 wxTreeItemId result
;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "item", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26871 if (arg2
== NULL
) {
26872 PyErr_SetString(PyExc_TypeError
,"null reference");
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26883 wxTreeItemId
* resultptr
;
26884 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26893 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
;
26895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26896 wxTreeItemId
*arg2
= 0 ;
26897 wxTreeItemId result
;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "item", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26910 if (arg2
== NULL
) {
26911 PyErr_SetString(PyExc_TypeError
,"null reference");
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26922 wxTreeItemId
* resultptr
;
26923 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26932 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26935 wxTreeItemId
*arg2
= 0 ;
26936 wxTreeItemId result
;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "item", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26949 if (arg2
== NULL
) {
26950 PyErr_SetString(PyExc_TypeError
,"null reference");
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26961 wxTreeItemId
* resultptr
;
26962 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26971 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26974 wxTreeItemId result
;
26975 PyObject
* obj0
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 wxTreeItemId
* resultptr
;
26992 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27001 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27004 wxTreeItemId
*arg2
= 0 ;
27005 wxTreeItemId result
;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self",(char *) "item", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27018 if (arg2
== NULL
) {
27019 PyErr_SetString(PyExc_TypeError
,"null reference");
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 wxTreeItemId
* resultptr
;
27031 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27040 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27043 wxTreeItemId
*arg2
= 0 ;
27044 wxTreeItemId result
;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "item", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27057 if (arg2
== NULL
) {
27058 PyErr_SetString(PyExc_TypeError
,"null reference");
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27069 wxTreeItemId
* resultptr
;
27070 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27079 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27082 wxString
*arg2
= 0 ;
27083 int arg3
= (int) -1 ;
27084 int arg4
= (int) -1 ;
27085 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27086 wxTreeItemId result
;
27087 bool temp2
= False
;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 PyObject
* obj2
= 0 ;
27091 PyObject
* obj3
= 0 ;
27092 PyObject
* obj4
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27101 arg2
= wxString_in_helper(obj1
);
27102 if (arg2
== NULL
) SWIG_fail
;
27106 arg3
= (int)SWIG_As_int(obj2
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 arg4
= (int)SWIG_As_int(obj3
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 wxTreeItemId
* resultptr
;
27126 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27143 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27146 wxTreeItemId
*arg2
= 0 ;
27147 wxString
*arg3
= 0 ;
27148 int arg4
= (int) -1 ;
27149 int arg5
= (int) -1 ;
27150 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27151 wxTreeItemId result
;
27152 bool temp3
= False
;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 PyObject
* obj2
= 0 ;
27156 PyObject
* obj3
= 0 ;
27157 PyObject
* obj4
= 0 ;
27158 PyObject
* obj5
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27169 if (arg2
== NULL
) {
27170 PyErr_SetString(PyExc_TypeError
,"null reference");
27174 arg3
= wxString_in_helper(obj2
);
27175 if (arg3
== NULL
) SWIG_fail
;
27179 arg4
= (int)SWIG_As_int(obj3
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 arg5
= (int)SWIG_As_int(obj4
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 wxTreeItemId
* resultptr
;
27199 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27216 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27219 wxTreeItemId
*arg2
= 0 ;
27220 wxTreeItemId
*arg3
= 0 ;
27221 wxString
*arg4
= 0 ;
27222 int arg5
= (int) -1 ;
27223 int arg6
= (int) -1 ;
27224 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27225 wxTreeItemId result
;
27226 bool temp4
= False
;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 PyObject
* obj2
= 0 ;
27230 PyObject
* obj3
= 0 ;
27231 PyObject
* obj4
= 0 ;
27232 PyObject
* obj5
= 0 ;
27233 PyObject
* obj6
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27244 if (arg2
== NULL
) {
27245 PyErr_SetString(PyExc_TypeError
,"null reference");
27248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27251 if (arg3
== NULL
) {
27252 PyErr_SetString(PyExc_TypeError
,"null reference");
27256 arg4
= wxString_in_helper(obj3
);
27257 if (arg4
== NULL
) SWIG_fail
;
27261 arg5
= (int)SWIG_As_int(obj4
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 arg6
= (int)SWIG_As_int(obj5
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27269 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 wxTreeItemId
* resultptr
;
27281 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27298 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27301 wxTreeItemId
*arg2
= 0 ;
27303 wxString
*arg4
= 0 ;
27304 int arg5
= (int) -1 ;
27305 int arg6
= (int) -1 ;
27306 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27307 wxTreeItemId result
;
27308 bool temp4
= False
;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 PyObject
* obj2
= 0 ;
27312 PyObject
* obj3
= 0 ;
27313 PyObject
* obj4
= 0 ;
27314 PyObject
* obj5
= 0 ;
27315 PyObject
* obj6
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27326 if (arg2
== NULL
) {
27327 PyErr_SetString(PyExc_TypeError
,"null reference");
27330 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 arg4
= wxString_in_helper(obj3
);
27334 if (arg4
== NULL
) SWIG_fail
;
27338 arg5
= (int)SWIG_As_int(obj4
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27342 arg6
= (int)SWIG_As_int(obj5
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27357 wxTreeItemId
* resultptr
;
27358 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27375 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27378 wxTreeItemId
*arg2
= 0 ;
27379 wxString
*arg3
= 0 ;
27380 int arg4
= (int) -1 ;
27381 int arg5
= (int) -1 ;
27382 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27383 wxTreeItemId result
;
27384 bool temp3
= False
;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 PyObject
* obj2
= 0 ;
27388 PyObject
* obj3
= 0 ;
27389 PyObject
* obj4
= 0 ;
27390 PyObject
* obj5
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27401 if (arg2
== NULL
) {
27402 PyErr_SetString(PyExc_TypeError
,"null reference");
27406 arg3
= wxString_in_helper(obj2
);
27407 if (arg3
== NULL
) SWIG_fail
;
27411 arg4
= (int)SWIG_As_int(obj3
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 arg5
= (int)SWIG_As_int(obj4
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 wxTreeItemId
* resultptr
;
27431 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27448 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27451 wxTreeItemId
*arg2
= 0 ;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "item", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27464 if (arg2
== NULL
) {
27465 PyErr_SetString(PyExc_TypeError
,"null reference");
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 Py_INCREF(Py_None
); resultobj
= Py_None
;
27482 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27485 wxTreeItemId
*arg2
= 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "item", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27498 if (arg2
== NULL
) {
27499 PyErr_SetString(PyExc_TypeError
,"null reference");
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 (arg1
)->DeleteAllItems();
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 Py_INCREF(Py_None
); resultobj
= Py_None
;
27541 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27544 wxTreeItemId
*arg2
= 0 ;
27545 PyObject
* obj0
= 0 ;
27546 PyObject
* obj1
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self",(char *) "item", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27557 if (arg2
== NULL
) {
27558 PyErr_SetString(PyExc_TypeError
,"null reference");
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 Py_INCREF(Py_None
); resultobj
= Py_None
;
27575 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27578 wxTreeItemId
*arg2
= 0 ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self",(char *) "item", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27591 if (arg2
== NULL
) {
27592 PyErr_SetString(PyExc_TypeError
,"null reference");
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 Py_INCREF(Py_None
); resultobj
= Py_None
;
27609 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
;
27611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27612 wxTreeItemId
*arg2
= 0 ;
27613 PyObject
* obj0
= 0 ;
27614 PyObject
* obj1
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self",(char *) "item", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27625 if (arg2
== NULL
) {
27626 PyErr_SetString(PyExc_TypeError
,"null reference");
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27643 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27646 wxTreeItemId
*arg2
= 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self",(char *) "item", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27659 if (arg2
== NULL
) {
27660 PyErr_SetString(PyExc_TypeError
,"null reference");
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->Unselect();
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 Py_INCREF(Py_None
); resultobj
= Py_None
;
27702 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27705 wxTreeItemId
*arg2
= 0 ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "item", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27718 if (arg2
== NULL
) {
27719 PyErr_SetString(PyExc_TypeError
,"null reference");
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 Py_INCREF(Py_None
); resultobj
= Py_None
;
27736 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 (arg1
)->UnselectAll();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 Py_INCREF(Py_None
); resultobj
= Py_None
;
27761 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27764 wxTreeItemId
*arg2
= 0 ;
27765 bool arg3
= (bool) True
;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 char *kwnames
[] = {
27770 (char *) "self",(char *) "item",(char *) "select", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27779 if (arg2
== NULL
) {
27780 PyErr_SetString(PyExc_TypeError
,"null reference");
27784 arg3
= (bool)SWIG_As_bool(obj2
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 Py_INCREF(Py_None
); resultobj
= Py_None
;
27801 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27804 wxTreeItemId
*arg2
= 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self",(char *) "item", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27817 if (arg2
== NULL
) {
27818 PyErr_SetString(PyExc_TypeError
,"null reference");
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 Py_INCREF(Py_None
); resultobj
= Py_None
;
27835 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27838 wxTreeItemId
*arg2
= 0 ;
27839 PyObject
* obj0
= 0 ;
27840 PyObject
* obj1
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self",(char *) "item", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27851 if (arg2
== NULL
) {
27852 PyErr_SetString(PyExc_TypeError
,"null reference");
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 Py_INCREF(Py_None
); resultobj
= Py_None
;
27869 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27872 wxTreeItemId
*arg2
= 0 ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self",(char *) "item", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27885 if (arg2
== NULL
) {
27886 PyErr_SetString(PyExc_TypeError
,"null reference");
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27906 wxTreeItemId
*arg2
= 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self",(char *) "item", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27919 if (arg2
== NULL
) {
27920 PyErr_SetString(PyExc_TypeError
,"null reference");
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 Py_INCREF(Py_None
); resultobj
= Py_None
;
27937 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27940 wxTextCtrl
*result
;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= wxPyMake_wxObject(result
, 0);
27965 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27968 wxTreeItemId
*arg2
= 0 ;
27969 bool arg3
= (bool) False
;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 PyObject
* obj2
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27983 if (arg2
== NULL
) {
27984 PyErr_SetString(PyExc_TypeError
,"null reference");
27988 arg3
= (bool)SWIG_As_bool(obj2
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27995 wxPyEndAllowThreads(__tstate
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27998 Py_INCREF(Py_None
); resultobj
= Py_None
;
28005 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28008 wxTreeItemId
*arg2
= 0 ;
28009 PyObject
* obj0
= 0 ;
28010 PyObject
* obj1
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self",(char *) "item", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28021 if (arg2
== NULL
) {
28022 PyErr_SetString(PyExc_TypeError
,"null reference");
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 Py_INCREF(Py_None
); resultobj
= Py_None
;
28039 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
;
28041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28042 wxPoint
*arg2
= 0 ;
28044 wxTreeItemId result
;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char *kwnames
[] = {
28051 (char *) "self",(char *) "point", NULL
28054 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28070 wxTreeItemId
* resultptr
;
28071 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28074 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28075 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28082 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28085 wxTreeItemId
*arg2
= 0 ;
28086 bool arg3
= (bool) False
;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 PyObject
* obj2
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28101 if (arg2
== NULL
) {
28102 PyErr_SetString(PyExc_TypeError
,"null reference");
28106 arg3
= (bool)SWIG_As_bool(obj2
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= result
;
28123 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28126 wxTreeItemId
*arg2
= 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 PyObject
* obj2
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "self",(char *) "node",(char *) "state", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28141 if (arg2
== NULL
) {
28142 PyErr_SetString(PyExc_TypeError
,"null reference");
28145 arg3
= (int)SWIG_As_int(obj2
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 Py_INCREF(Py_None
); resultobj
= Py_None
;
28161 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28164 wxTreeItemId
*arg2
= 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self",(char *) "node", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28178 if (arg2
== NULL
) {
28179 PyErr_SetString(PyExc_TypeError
,"null reference");
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_From_int((int)result
);
28196 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28199 wxVisualAttributes result
;
28200 PyObject
* obj0
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "variant", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28207 arg1
= (int)SWIG_As_int(obj0
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 if (!wxPyCheckForApp()) SWIG_fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28219 wxVisualAttributes
* resultptr
;
28220 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28229 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28232 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28234 return Py_BuildValue((char *)"");
28236 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28237 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28242 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28247 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28249 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28256 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxWindow
*arg1
= (wxWindow
*) 0 ;
28259 int arg2
= (int) (int)-1 ;
28260 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28261 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28266 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28267 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28268 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28269 int arg8
= (int) 0 ;
28270 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28271 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28272 wxGenericDirCtrl
*result
;
28273 bool temp3
= False
;
28276 bool temp7
= False
;
28277 bool temp9
= False
;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 PyObject
* obj2
= 0 ;
28281 PyObject
* obj3
= 0 ;
28282 PyObject
* obj4
= 0 ;
28283 PyObject
* obj5
= 0 ;
28284 PyObject
* obj6
= 0 ;
28285 PyObject
* obj7
= 0 ;
28286 PyObject
* obj8
= 0 ;
28287 char *kwnames
[] = {
28288 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28295 arg2
= (int)SWIG_As_int(obj1
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28300 arg3
= wxString_in_helper(obj2
);
28301 if (arg3
== NULL
) SWIG_fail
;
28308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28318 arg6
= (long)SWIG_As_long(obj5
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28323 arg7
= wxString_in_helper(obj6
);
28324 if (arg7
== NULL
) SWIG_fail
;
28329 arg8
= (int)SWIG_As_int(obj7
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28334 arg9
= wxString_in_helper(obj8
);
28335 if (arg9
== NULL
) SWIG_fail
;
28340 if (!wxPyCheckForApp()) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28378 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxGenericDirCtrl
*result
;
28381 char *kwnames
[] = {
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28387 if (!wxPyCheckForApp()) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28401 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28404 wxWindow
*arg2
= (wxWindow
*) 0 ;
28405 int arg3
= (int) (int)-1 ;
28406 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28407 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28408 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28409 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28410 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28411 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28412 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28413 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28414 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28415 int arg9
= (int) 0 ;
28416 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28417 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28419 bool temp4
= False
;
28422 bool temp8
= False
;
28423 bool temp10
= False
;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 PyObject
* obj2
= 0 ;
28427 PyObject
* obj3
= 0 ;
28428 PyObject
* obj4
= 0 ;
28429 PyObject
* obj5
= 0 ;
28430 PyObject
* obj6
= 0 ;
28431 PyObject
* obj7
= 0 ;
28432 PyObject
* obj8
= 0 ;
28433 PyObject
* obj9
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28444 arg3
= (int)SWIG_As_int(obj2
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28449 arg4
= wxString_in_helper(obj3
);
28450 if (arg4
== NULL
) SWIG_fail
;
28457 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28463 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28467 arg7
= (long)SWIG_As_long(obj6
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28472 arg8
= wxString_in_helper(obj7
);
28473 if (arg8
== NULL
) SWIG_fail
;
28478 arg9
= (int)SWIG_As_int(obj8
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28483 arg10
= wxString_in_helper(obj9
);
28484 if (arg10
== NULL
) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28528 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28531 wxString
*arg2
= 0 ;
28533 bool temp2
= False
;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self",(char *) "path", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28544 arg2
= wxString_in_helper(obj1
);
28545 if (arg2
== NULL
) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28572 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28604 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28607 wxString
*arg2
= 0 ;
28608 bool temp2
= False
;
28609 PyObject
* obj0
= 0 ;
28610 PyObject
* obj1
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self",(char *) "path", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28619 arg2
= wxString_in_helper(obj1
);
28620 if (arg2
== NULL
) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 Py_INCREF(Py_None
); resultobj
= Py_None
;
28645 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28677 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
;
28679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28681 PyObject
* obj0
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28709 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28710 PyObject
*resultobj
;
28711 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28712 wxString
*arg2
= 0 ;
28713 bool temp2
= False
;
28714 PyObject
* obj0
= 0 ;
28715 PyObject
* obj1
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "self",(char *) "path", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28724 arg2
= wxString_in_helper(obj1
);
28725 if (arg2
== NULL
) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 (arg1
)->SetPath((wxString
const &)*arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 Py_INCREF(Py_None
); resultobj
= Py_None
;
28750 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "show", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 arg2
= (bool)SWIG_As_bool(obj1
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->ShowHidden(arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 Py_INCREF(Py_None
); resultobj
= Py_None
;
28779 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (bool)(arg1
)->GetShowHidden();
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28807 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28811 PyObject
* obj0
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28839 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
;
28841 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28842 wxString
*arg2
= 0 ;
28843 bool temp2
= False
;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "filter", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28854 arg2
= wxString_in_helper(obj1
);
28855 if (arg2
== NULL
) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 (arg1
)->SetFilter((wxString
const &)*arg2
);
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 Py_INCREF(Py_None
); resultobj
= Py_None
;
28880 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= SWIG_From_int((int)result
);
28906 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 PyObject
* obj1
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self",(char *) "n", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28919 arg2
= (int)SWIG_As_int(obj1
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 (arg1
)->SetFilterIndex(arg2
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 Py_INCREF(Py_None
); resultobj
= Py_None
;
28935 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28938 wxTreeItemId result
;
28939 PyObject
* obj0
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (arg1
)->GetRootId();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 wxTreeItemId
* resultptr
;
28956 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28965 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28968 wxPyTreeCtrl
*result
;
28969 PyObject
* obj0
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= wxPyMake_wxObject(result
, 0);
28993 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28996 wxDirFilterListCtrl
*result
;
28997 PyObject
* obj0
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29019 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29022 wxTreeItemId arg2
;
29023 wxString
*arg3
= 0 ;
29025 wxTreeItemId result
;
29026 wxTreeItemId
*argp2
;
29027 bool temp3
= False
;
29030 PyObject
* obj0
= 0 ;
29031 PyObject
* obj1
= 0 ;
29032 PyObject
* obj2
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self",(char *) "parentId",(char *) "path", NULL
29037 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29041 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29042 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29045 arg3
= wxString_in_helper(obj2
);
29046 if (arg3
== NULL
) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 wxTreeItemId
* resultptr
;
29058 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29061 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29062 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29077 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 (arg1
)->DoResize();
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 Py_INCREF(Py_None
); resultobj
= Py_None
;
29102 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->ReCreateTree();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 Py_INCREF(Py_None
); resultobj
= Py_None
;
29127 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29130 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29132 return Py_BuildValue((char *)"");
29134 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29137 int arg2
= (int) (int)-1 ;
29138 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29139 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29140 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29141 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29142 long arg5
= (long) 0 ;
29143 wxDirFilterListCtrl
*result
;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 PyObject
* obj2
= 0 ;
29149 PyObject
* obj3
= 0 ;
29150 PyObject
* obj4
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 arg2
= (int)SWIG_As_int(obj1
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29165 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29171 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29175 arg5
= (long)SWIG_As_long(obj4
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 if (!wxPyCheckForApp()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29193 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxDirFilterListCtrl
*result
;
29196 char *kwnames
[] = {
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29202 if (!wxPyCheckForApp()) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29216 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29219 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29220 int arg3
= (int) (int)-1 ;
29221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29225 long arg6
= (long) 0 ;
29229 PyObject
* obj0
= 0 ;
29230 PyObject
* obj1
= 0 ;
29231 PyObject
* obj2
= 0 ;
29232 PyObject
* obj3
= 0 ;
29233 PyObject
* obj4
= 0 ;
29234 PyObject
* obj5
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 arg3
= (int)SWIG_As_int(obj2
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29261 arg6
= (long)SWIG_As_long(obj5
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29280 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29283 wxString
*arg2
= 0 ;
29285 bool temp2
= False
;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29297 arg2
= wxString_in_helper(obj1
);
29298 if (arg2
== NULL
) SWIG_fail
;
29301 arg3
= (int)SWIG_As_int(obj2
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 Py_INCREF(Py_None
); resultobj
= Py_None
;
29325 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29328 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29330 return Py_BuildValue((char *)"");
29332 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
;
29334 wxWindow
*arg1
= (wxWindow
*) 0 ;
29335 int arg2
= (int) (int)-1 ;
29336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29340 long arg5
= (long) 0 ;
29341 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29342 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29343 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29344 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29345 wxPyControl
*result
;
29348 bool temp7
= False
;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 PyObject
* obj2
= 0 ;
29352 PyObject
* obj3
= 0 ;
29353 PyObject
* obj4
= 0 ;
29354 PyObject
* obj5
= 0 ;
29355 PyObject
* obj6
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 arg2
= (int)SWIG_As_int(obj1
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29370 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29376 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29380 arg5
= (long)SWIG_As_long(obj4
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29387 if (arg6
== NULL
) {
29388 PyErr_SetString(PyExc_TypeError
,"null reference");
29394 arg7
= wxString_in_helper(obj6
);
29395 if (arg7
== NULL
) SWIG_fail
;
29400 if (!wxPyCheckForApp()) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29422 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
;
29424 wxPyControl
*result
;
29425 char *kwnames
[] = {
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29431 if (!wxPyCheckForApp()) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 result
= (wxPyControl
*)new wxPyControl();
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29445 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29448 PyObject
*arg2
= (PyObject
*) 0 ;
29449 PyObject
*arg3
= (PyObject
*) 0 ;
29450 PyObject
* obj0
= 0 ;
29451 PyObject
* obj1
= 0 ;
29452 PyObject
* obj2
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self",(char *) "self",(char *) "_class", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 Py_INCREF(Py_None
); resultobj
= Py_None
;
29476 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self",(char *) "size", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 Py_INCREF(Py_None
); resultobj
= Py_None
;
29508 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 PyObject
* obj4
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29527 arg2
= (int)SWIG_As_int(obj1
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29529 arg3
= (int)SWIG_As_int(obj2
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29531 arg4
= (int)SWIG_As_int(obj3
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29533 arg5
= (int)SWIG_As_int(obj4
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 Py_INCREF(Py_None
); resultobj
= Py_None
;
29549 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29556 int arg6
= (int) wxSIZE_AUTO
;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 PyObject
* obj3
= 0 ;
29561 PyObject
* obj4
= 0 ;
29562 PyObject
* obj5
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 arg2
= (int)SWIG_As_int(obj1
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29572 arg3
= (int)SWIG_As_int(obj2
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29574 arg4
= (int)SWIG_As_int(obj3
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29576 arg5
= (int)SWIG_As_int(obj4
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 arg6
= (int)SWIG_As_int(obj5
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 Py_INCREF(Py_None
); resultobj
= Py_None
;
29596 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 PyObject
* obj2
= 0 ;
29604 char *kwnames
[] = {
29605 (char *) "self",(char *) "width",(char *) "height", NULL
29608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29611 arg2
= (int)SWIG_As_int(obj1
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29613 arg3
= (int)SWIG_As_int(obj2
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 Py_INCREF(Py_None
); resultobj
= Py_None
;
29629 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 PyObject
* obj2
= 0 ;
29637 char *kwnames
[] = {
29638 (char *) "self",(char *) "x",(char *) "y", NULL
29641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29644 arg2
= (int)SWIG_As_int(obj1
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29646 arg3
= (int)SWIG_As_int(obj2
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 Py_INCREF(Py_None
); resultobj
= Py_None
;
29662 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29663 PyObject
*resultobj
;
29664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29665 int *arg2
= (int *) 0 ;
29666 int *arg3
= (int *) 0 ;
29671 PyObject
* obj0
= 0 ;
29672 char *kwnames
[] = {
29673 (char *) "self", NULL
29676 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29677 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29690 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29691 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29692 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29699 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29702 int *arg2
= (int *) 0 ;
29703 int *arg3
= (int *) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self", NULL
29713 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29714 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29725 Py_INCREF(Py_None
); resultobj
= Py_None
;
29726 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29727 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29728 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29729 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29736 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29739 int *arg2
= (int *) 0 ;
29740 int *arg3
= (int *) 0 ;
29745 PyObject
* obj0
= 0 ;
29746 char *kwnames
[] = {
29747 (char *) "self", NULL
29750 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29751 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 Py_INCREF(Py_None
); resultobj
= Py_None
;
29763 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29764 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29765 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29766 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29773 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29777 PyObject
* obj0
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29793 wxSize
* resultptr
;
29794 resultptr
= new wxSize((wxSize
&) result
);
29795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29803 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
;
29805 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29807 PyObject
* obj0
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29823 wxSize
* resultptr
;
29824 resultptr
= new wxSize((wxSize
&) result
);
29825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29833 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 (arg1
)->base_InitDialog();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 Py_INCREF(Py_None
); resultobj
= Py_None
;
29858 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29862 PyObject
* obj0
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (bool)(arg1
)->base_TransferDataToWindow();
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29886 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29914 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29918 PyObject
* obj0
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 result
= (bool)(arg1
)->base_Validate();
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29942 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
;
29944 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29946 PyObject
* obj0
= 0 ;
29947 char *kwnames
[] = {
29948 (char *) "self", NULL
29951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29970 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29998 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30002 PyObject
* obj0
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30018 wxSize
* resultptr
;
30019 resultptr
= new wxSize((wxSize
&) result
);
30020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30028 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30031 wxWindow
*arg2
= (wxWindow
*) 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "child", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 (arg1
)->base_AddChild(arg2
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 Py_INCREF(Py_None
); resultobj
= Py_None
;
30057 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
;
30059 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30060 wxWindow
*arg2
= (wxWindow
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self",(char *) "child", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 (arg1
)->base_RemoveChild(arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30114 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30117 wxColour
*arg2
= 0 ;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "c", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 Py_INCREF(Py_None
); resultobj
= Py_None
;
30146 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30149 wxVisualAttributes result
;
30150 PyObject
* obj0
= 0 ;
30151 char *kwnames
[] = {
30152 (char *) "self", NULL
30155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (arg1
)->base_GetDefaultAttributes();
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 wxVisualAttributes
* resultptr
;
30167 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30176 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30179 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30181 return Py_BuildValue((char *)"");
30183 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
;
30185 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30186 int arg2
= (int) 0 ;
30187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30189 wxHelpEvent
*result
;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 PyObject
* obj2
= 0 ;
30194 char *kwnames
[] = {
30195 (char *) "type",(char *) "winid",(char *) "pt", NULL
30198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30200 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 arg2
= (int)SWIG_As_int(obj1
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30227 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
;
30229 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 wxPoint
* resultptr
;
30248 resultptr
= new wxPoint((wxPoint
&) result
);
30249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30257 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30260 wxPoint
*arg2
= 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "pos", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 Py_INCREF(Py_None
); resultobj
= Py_None
;
30289 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30293 PyObject
* obj0
= 0 ;
30294 char *kwnames
[] = {
30295 (char *) "self", NULL
30298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30305 result
= (wxString
*) &_result_ref
;
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30315 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30324 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30327 wxString
*arg2
= 0 ;
30328 bool temp2
= False
;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "link", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30339 arg2
= wxString_in_helper(obj1
);
30340 if (arg2
== NULL
) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->SetLink((wxString
const &)*arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 Py_INCREF(Py_None
); resultobj
= Py_None
;
30365 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30369 PyObject
* obj0
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30381 result
= (wxString
*) &_result_ref
;
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30391 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30400 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30403 wxString
*arg2
= 0 ;
30404 bool temp2
= False
;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 char *kwnames
[] = {
30408 (char *) "self",(char *) "target", NULL
30411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30415 arg2
= wxString_in_helper(obj1
);
30416 if (arg2
== NULL
) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 (arg1
)->SetTarget((wxString
const &)*arg2
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 Py_INCREF(Py_None
); resultobj
= Py_None
;
30441 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30444 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30446 return Py_BuildValue((char *)"");
30448 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxWindow
*arg1
= (wxWindow
*) NULL
;
30451 bool arg2
= (bool) True
;
30452 wxContextHelp
*result
;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char *kwnames
[] = {
30456 (char *) "window",(char *) "doNow", NULL
30459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30465 arg2
= (bool)SWIG_As_bool(obj1
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 if (!wxPyCheckForApp()) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30483 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 char *kwnames
[] = {
30488 (char *) "self", NULL
30491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 Py_INCREF(Py_None
); resultobj
= Py_None
;
30508 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30511 wxWindow
*arg2
= (wxWindow
*) NULL
;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self",(char *) "window", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30542 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30546 PyObject
* obj0
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (bool)(arg1
)->EndContextHelp();
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30570 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30573 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30575 return Py_BuildValue((char *)"");
30577 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30579 wxWindow
*arg1
= (wxWindow
*) 0 ;
30580 int arg2
= (int) wxID_CONTEXT_HELP
;
30581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30585 long arg5
= (long) wxBU_AUTODRAW
;
30586 wxContextHelpButton
*result
;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 PyObject
* obj2
= 0 ;
30592 PyObject
* obj3
= 0 ;
30593 PyObject
* obj4
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30602 arg2
= (int)SWIG_As_int(obj1
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30618 arg5
= (long)SWIG_As_long(obj4
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30622 if (!wxPyCheckForApp()) SWIG_fail
;
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30636 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30639 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30641 return Py_BuildValue((char *)"");
30643 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30646 wxHelpProvider
*result
;
30647 PyObject
* obj0
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "helpProvider", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30669 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
;
30671 wxHelpProvider
*result
;
30672 char *kwnames
[] = {
30676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30691 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30694 wxWindow
*arg2
= (wxWindow
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "self",(char *) "window", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30727 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
;
30729 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30730 wxWindow
*arg2
= (wxWindow
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "window", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (bool)(arg1
)->ShowHelp(arg2
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30759 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30762 wxWindow
*arg2
= (wxWindow
*) 0 ;
30763 wxString
*arg3
= 0 ;
30764 bool temp3
= False
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 PyObject
* obj2
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self",(char *) "window",(char *) "text", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 arg3
= wxString_in_helper(obj2
);
30779 if (arg3
== NULL
) SWIG_fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30808 wxString
*arg3
= 0 ;
30809 bool temp3
= False
;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 PyObject
* obj2
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self",(char *) "id",(char *) "text", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30820 arg2
= (int)SWIG_As_int(obj1
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 arg3
= wxString_in_helper(obj2
);
30824 if (arg3
== NULL
) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 Py_INCREF(Py_None
); resultobj
= Py_None
;
30849 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
;
30851 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30852 wxWindow
*arg2
= (wxWindow
*) 0 ;
30853 PyObject
* obj0
= 0 ;
30854 PyObject
* obj1
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self",(char *) "window", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 (arg1
)->RemoveHelp(arg2
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 Py_INCREF(Py_None
); resultobj
= Py_None
;
30878 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30881 PyObject
* obj0
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 wxHelpProvider_Destroy(arg1
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 Py_INCREF(Py_None
); resultobj
= Py_None
;
30903 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30906 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30908 return Py_BuildValue((char *)"");
30910 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxSimpleHelpProvider
*result
;
30913 char *kwnames
[] = {
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30932 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30935 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30937 return Py_BuildValue((char *)"");
30939 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxBitmap
*arg1
= 0 ;
30942 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30943 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30944 wxGenericDragImage
*result
;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "image",(char *) "cursor", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30955 if (arg1
== NULL
) {
30956 PyErr_SetString(PyExc_TypeError
,"null reference");
30960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30963 if (arg2
== NULL
) {
30964 PyErr_SetString(PyExc_TypeError
,"null reference");
30969 if (!wxPyCheckForApp()) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30983 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30986 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30987 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30988 wxGenericDragImage
*result
;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "image",(char *) "cursor", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30999 if (arg1
== NULL
) {
31000 PyErr_SetString(PyExc_TypeError
,"null reference");
31004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31007 if (arg2
== NULL
) {
31008 PyErr_SetString(PyExc_TypeError
,"null reference");
31013 if (!wxPyCheckForApp()) SWIG_fail
;
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31027 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxString
*arg1
= 0 ;
31030 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31031 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31032 wxGenericDragImage
*result
;
31033 bool temp1
= False
;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char *kwnames
[] = {
31037 (char *) "str",(char *) "cursor", NULL
31040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31042 arg1
= wxString_in_helper(obj0
);
31043 if (arg1
== NULL
) SWIG_fail
;
31047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31050 if (arg2
== NULL
) {
31051 PyErr_SetString(PyExc_TypeError
,"null reference");
31056 if (!wxPyCheckForApp()) SWIG_fail
;
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31078 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxPyTreeCtrl
*arg1
= 0 ;
31081 wxTreeItemId
*arg2
= 0 ;
31082 wxGenericDragImage
*result
;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 char *kwnames
[] = {
31086 (char *) "treeCtrl",(char *) "id", NULL
31089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31093 if (arg1
== NULL
) {
31094 PyErr_SetString(PyExc_TypeError
,"null reference");
31097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31100 if (arg2
== NULL
) {
31101 PyErr_SetString(PyExc_TypeError
,"null reference");
31105 if (!wxPyCheckForApp()) SWIG_fail
;
31106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31107 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31119 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
;
31121 wxPyListCtrl
*arg1
= 0 ;
31123 wxGenericDragImage
*result
;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "listCtrl",(char *) "id", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31134 if (arg1
== NULL
) {
31135 PyErr_SetString(PyExc_TypeError
,"null reference");
31138 arg2
= (long)SWIG_As_long(obj1
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 if (!wxPyCheckForApp()) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31155 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 Py_INCREF(Py_None
); resultobj
= Py_None
;
31180 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31183 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self",(char *) "bitmap", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->SetBackingBitmap(arg2
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 Py_INCREF(Py_None
); resultobj
= Py_None
;
31209 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31212 wxPoint
*arg2
= 0 ;
31213 wxWindow
*arg3
= (wxWindow
*) 0 ;
31214 bool arg4
= (bool) False
;
31215 wxRect
*arg5
= (wxRect
*) NULL
;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 PyObject
* obj2
= 0 ;
31221 PyObject
* obj3
= 0 ;
31222 PyObject
* obj4
= 0 ;
31223 char *kwnames
[] = {
31224 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31234 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31237 arg4
= (bool)SWIG_As_bool(obj3
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31241 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31260 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31263 wxPoint
*arg2
= 0 ;
31264 wxWindow
*arg3
= (wxWindow
*) 0 ;
31265 wxWindow
*arg4
= (wxWindow
*) 0 ;
31268 PyObject
* obj0
= 0 ;
31269 PyObject
* obj1
= 0 ;
31270 PyObject
* obj2
= 0 ;
31271 PyObject
* obj3
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31285 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31303 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
;
31305 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 result
= (bool)(arg1
)->EndDrag();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31331 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31334 wxPoint
*arg2
= 0 ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self",(char *) "pt", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31366 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
;
31368 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "self", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 result
= (bool)(arg1
)->Show();
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31394 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
;
31396 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31398 PyObject
* obj0
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)(arg1
)->Hide();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31422 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31425 wxPoint
*arg2
= 0 ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 char *kwnames
[] = {
31431 (char *) "self",(char *) "pos", NULL
31434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31449 wxRect
* resultptr
;
31450 resultptr
= new wxRect((wxRect
&) result
);
31451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31459 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31463 wxPoint
*arg3
= 0 ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self",(char *) "dc",(char *) "pos", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31479 if (arg2
== NULL
) {
31480 PyErr_SetString(PyExc_TypeError
,"null reference");
31485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31503 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
;
31505 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31507 wxMemoryDC
*arg3
= 0 ;
31513 PyObject
* obj0
= 0 ;
31514 PyObject
* obj1
= 0 ;
31515 PyObject
* obj2
= 0 ;
31516 PyObject
* obj3
= 0 ;
31517 PyObject
* obj4
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31528 if (arg2
== NULL
) {
31529 PyErr_SetString(PyExc_TypeError
,"null reference");
31532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31535 if (arg3
== NULL
) {
31536 PyErr_SetString(PyExc_TypeError
,"null reference");
31541 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31545 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31563 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
;
31565 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31566 wxPoint
*arg2
= 0 ;
31567 wxPoint
*arg3
= 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 PyObject
* obj2
= 0 ;
31576 PyObject
* obj3
= 0 ;
31577 PyObject
* obj4
= 0 ;
31578 char *kwnames
[] = {
31579 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31593 arg4
= (bool)SWIG_As_bool(obj3
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31595 arg5
= (bool)SWIG_As_bool(obj4
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31613 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31616 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31618 return Py_BuildValue((char *)"");
31620 static PyMethodDef SwigMethods
[] = {
31621 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31628 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31655 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31684 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31703 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31715 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31755 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31786 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31844 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31849 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31861 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31886 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31890 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31908 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31941 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31949 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31970 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31976 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
31987 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
31989 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32001 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32006 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32036 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32081 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32087 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32099 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32151 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32178 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32262 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32270 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32277 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32293 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32372 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32394 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32399 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32425 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32433 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32438 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32440 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32449 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32451 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32469 { NULL
, NULL
, 0, NULL
}
32473 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32475 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32476 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32478 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32479 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32481 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32482 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32484 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32485 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32487 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32488 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32490 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32491 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32493 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32494 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32496 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32497 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32499 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32500 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32502 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32503 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32505 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32508 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32509 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32511 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32512 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32514 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32515 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32517 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32518 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32520 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32521 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32523 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32524 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32526 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32527 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32529 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32532 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32535 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32538 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32541 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32544 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32545 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32547 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32548 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32550 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32551 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32553 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32556 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32557 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32559 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32560 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32562 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32565 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32568 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32571 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32572 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32574 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32575 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32577 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32578 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32580 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32581 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32583 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32586 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32589 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32592 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32595 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32598 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32601 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32602 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32604 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32605 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32607 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32608 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32610 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32611 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32613 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32614 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32616 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32619 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32622 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32623 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32625 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32626 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32628 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32629 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32631 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32632 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32634 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32635 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32637 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32638 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32640 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32641 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32643 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32644 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32646 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32647 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32649 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32650 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32652 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32653 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32655 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32656 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32658 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32659 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32661 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32662 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32664 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32665 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32667 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32668 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32670 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32671 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32673 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32674 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32676 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32677 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32679 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32680 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32682 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32683 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32685 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32686 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32688 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32689 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32691 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32692 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32694 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32695 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32697 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32698 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32700 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32701 return (void *)((wxControl
*) ((wxGauge
*) x
));
32703 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32704 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32706 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32707 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32709 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32710 return (void *)((wxControl
*) ((wxButton
*) x
));
32712 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32713 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32715 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32716 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32718 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32719 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32721 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32722 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32724 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32725 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32727 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32728 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32730 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32731 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32733 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32734 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32736 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32737 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32739 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32740 return (void *)((wxControl
*) ((wxSlider
*) x
));
32742 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32743 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32745 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32746 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32748 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32749 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32751 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32752 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32754 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32755 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32757 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32758 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32760 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32761 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32763 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32764 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32766 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32767 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32769 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32770 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32772 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32773 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32775 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32776 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32778 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32779 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32781 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32784 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32785 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32787 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32788 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32790 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32791 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32793 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32796 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32797 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32799 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32802 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32805 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32806 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32808 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32809 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32811 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32814 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32817 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32820 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32823 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32826 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32827 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32829 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32832 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32835 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32838 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32841 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32844 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32847 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32850 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32853 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32856 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32859 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32862 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32865 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32868 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32871 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32874 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32877 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32880 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32883 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32886 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32889 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32892 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32895 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32898 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32901 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32902 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32904 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32905 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32907 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32908 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32910 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32911 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32913 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32914 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32916 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32917 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32919 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32920 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32922 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32925 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32928 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32931 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32934 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32937 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32940 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32943 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32946 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32949 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) ((wxSizer
*) x
));
32952 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32955 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32958 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32961 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32964 static void *_p_wxEventTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) ((wxEvent
*) x
));
32967 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32970 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32973 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32976 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32979 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32982 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32985 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32988 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32991 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32994 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32997 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33000 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33003 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33006 static void *_p_wxControlTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33009 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33012 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33015 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33018 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33021 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33024 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33027 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33030 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33033 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33036 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33039 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33042 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33045 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33048 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33051 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33054 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33057 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33060 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33063 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33066 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33069 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33072 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33075 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33078 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33081 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33084 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33087 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33090 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33093 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33096 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33099 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33102 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33105 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33108 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33111 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33114 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33117 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33120 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33123 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33126 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33129 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33132 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33135 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33138 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33141 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33144 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33147 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33150 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33153 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33156 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33159 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33162 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33165 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33168 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33171 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33174 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) ((wxListItem
*) x
));
33177 static void *_p_wxImageTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) ((wxImage
*) x
));
33180 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33183 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33186 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33189 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33192 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33195 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33198 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33201 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33204 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33207 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33210 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33213 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33216 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33219 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33222 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33225 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33228 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33231 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33234 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33237 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33240 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33243 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33246 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33249 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33252 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33255 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33258 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33261 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33264 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33267 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33270 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33273 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33276 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33279 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33280 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33282 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33283 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33285 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33286 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33288 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33289 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33291 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33292 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33294 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33295 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33298 return (void *)((wxWindow
*) ((wxControl
*) x
));
33300 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33301 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33303 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33304 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33306 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33309 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33312 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33313 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33315 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33316 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33318 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33319 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33321 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33322 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33324 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33325 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33327 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33328 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33330 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33331 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33333 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33334 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33336 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33337 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33339 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33340 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33342 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33343 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33345 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33346 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33348 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33349 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33351 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33352 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33354 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33355 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33357 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33358 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33360 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33361 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33363 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33364 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33366 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33367 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33369 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33370 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33372 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33373 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33375 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33378 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33381 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33384 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33385 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33387 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33388 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33390 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33391 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33393 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33394 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33396 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33397 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33399 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33400 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33402 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33403 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33405 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33406 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33408 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33409 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33411 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33412 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33414 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33415 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33417 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33418 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33420 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33421 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33423 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33424 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33426 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33427 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33429 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33430 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33432 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33433 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33435 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33436 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33438 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33439 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33441 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33442 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33444 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33445 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33447 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33448 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33450 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}};
33451 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}};
33452 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}};
33453 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}};
33454 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}};
33455 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}};
33456 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}};
33457 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}};
33458 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}};
33459 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}};
33460 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}};
33461 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}};
33462 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}};
33463 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}};
33464 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}};
33465 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}};
33466 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}};
33467 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}};
33468 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}};
33469 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}};
33470 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33471 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}};
33472 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}};
33473 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}};
33474 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}};
33475 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}};
33476 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}};
33477 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}};
33478 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}};
33479 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}};
33480 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}};
33481 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}};
33482 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}};
33483 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}};
33484 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}};
33485 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}};
33486 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}};
33487 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}};
33488 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}};
33489 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}};
33490 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}};
33491 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}};
33492 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}};
33493 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}};
33494 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}};
33495 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}};
33496 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}};
33497 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}};
33498 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}};
33499 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}};
33500 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}};
33501 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}};
33502 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}};
33503 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}};
33504 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}};
33505 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}};
33506 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}};
33507 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}};
33508 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}};
33509 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}};
33510 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}};
33511 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}};
33512 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}};
33513 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}};
33514 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}};
33515 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}};
33516 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}};
33517 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}};
33518 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}};
33519 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}};
33520 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}};
33521 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}};
33522 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}};
33523 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}};
33524 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}};
33525 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}};
33526 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}};
33527 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}};
33528 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}};
33529 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33530 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}};
33531 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}};
33532 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}};
33533 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}};
33534 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}};
33536 static swig_type_info
*swig_types_initial
[] = {
33537 _swigt__p_wxTextUrlEvent
,
33538 _swigt__p_wxBookCtrlEvent
,
33540 _swigt__p_wxCheckBox
,
33541 _swigt__p_wxPyTreeCtrl
,
33543 _swigt__p_wxGenericDirCtrl
,
33545 _swigt__p_wxPyTreeItemData
,
33546 _swigt__p_wxItemContainer
,
33547 _swigt__p_wxPyListCtrl
,
33548 _swigt__p_wxDirFilterListCtrl
,
33549 _swigt__p_wxStaticLine
,
33550 _swigt__p_wxControl
,
33551 _swigt__p_wxPyControl
,
33553 _swigt__p_wxToolBarBase
,
33555 _swigt__p_wxToggleButton
,
33556 _swigt__p_wxRadioButton
,
33557 _swigt__p_wxChoice
,
33558 _swigt__p_wxMemoryDC
,
33559 _swigt__p_wxListItemAttr
,
33564 _swigt__p_wxListView
,
33566 _swigt__p_wxVisualAttributes
,
33567 _swigt__p_wxTextCtrl
,
33568 _swigt__p_wxNotebook
,
33569 _swigt__p_wxNotifyEvent
,
33570 _swigt__p_wxArrayString
,
33571 _swigt__p_wxListbook
,
33572 _swigt__p_wxStaticBitmap
,
33573 _swigt__p_wxSlider
,
33574 _swigt__p_wxStaticBox
,
33575 _swigt__p_wxArrayInt
,
33576 _swigt__p_wxContextHelp
,
33578 _swigt__p_wxEvtHandler
,
33579 _swigt__p_wxListEvent
,
33580 _swigt__p_wxCheckListBox
,
33581 _swigt__p_wxListBox
,
33582 _swigt__p_wxBookCtrl
,
33583 _swigt__p_wxSpinButton
,
33584 _swigt__p_wxButton
,
33585 _swigt__p_wxBitmapButton
,
33587 _swigt__p_wxContextHelpButton
,
33588 _swigt__p_wxRadioBox
,
33589 _swigt__p_wxScrollBar
,
33591 _swigt__p_wxTreeItemId
,
33592 _swigt__p_wxComboBox
,
33593 _swigt__p_wxHelpEvent
,
33594 _swigt__p_wxListItem
,
33595 _swigt__p_wxNotebookSizer
,
33596 _swigt__p_wxSpinEvent
,
33597 _swigt__p_wxGenericDragImage
,
33598 _swigt__p_wxSpinCtrl
,
33599 _swigt__p_wxImageList
,
33600 _swigt__p_wxHelpProvider
,
33601 _swigt__p_wxTextAttr
,
33602 _swigt__p_wxSimpleHelpProvider
,
33604 _swigt__p_wxListbookEvent
,
33605 _swigt__p_wxNotebookEvent
,
33606 _swigt__p_wxObject
,
33607 _swigt__p_wxCursor
,
33608 _swigt__p_wxKeyEvent
,
33609 _swigt__p_wxWindow
,
33610 _swigt__p_wxString
,
33611 _swigt__p_wxBitmap
,
33612 _swigt__p_wxTreeEvent
,
33613 _swigt__p_wxMouseEvent
,
33614 _swigt__p_wxCommandEvent
,
33615 _swigt__p_wxStaticText
,
33616 _swigt__p_wxControlWithItems
,
33617 _swigt__p_wxToolBarToolBase
,
33618 _swigt__p_wxColour
,
33619 _swigt__p_wxToolBar
,
33620 _swigt__p_wxBookCtrlSizer
,
33621 _swigt__p_wxValidator
,
33626 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33628 static swig_const_info swig_const_table
[] = {
33629 {0, 0, 0, 0.0, 0, 0}};
33638 SWIGEXPORT(void) SWIG_init(void) {
33639 static PyObject
*SWIG_globals
= 0;
33640 static int typeinit
= 0;
33643 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33644 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33645 d
= PyModule_GetDict(m
);
33648 for (i
= 0; swig_types_initial
[i
]; i
++) {
33649 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33653 SWIG_InstallConstants(d
,swig_const_table
);
33655 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33656 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33657 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33658 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33659 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33660 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33661 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33662 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33663 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33664 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33665 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33666 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33667 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33668 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33669 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33670 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33671 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33672 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33673 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33674 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33675 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33676 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33677 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33678 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33679 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33680 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33681 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33682 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33683 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33684 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33685 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33686 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33687 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33688 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33689 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33690 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33691 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33692 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33693 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33694 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33695 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33696 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33697 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33698 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33699 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33700 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33701 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33702 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33703 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33704 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33705 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33706 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33707 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33708 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33709 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33710 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33711 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33712 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33713 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33714 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33715 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33716 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33717 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33718 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33719 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33720 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33721 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33722 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33723 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33724 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33725 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33726 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33727 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33728 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33729 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33730 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33731 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33732 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33733 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33734 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33735 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33736 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33737 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33738 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33739 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33740 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33741 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33742 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33743 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33744 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33745 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33746 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33747 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33748 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33749 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33750 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33751 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33752 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33753 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33754 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33755 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33756 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33757 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33758 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33760 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33761 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33762 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33763 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33764 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33765 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33766 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33767 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33768 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33769 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33770 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33771 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33772 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33773 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33774 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33775 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33776 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33777 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33778 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33779 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33780 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33781 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33782 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33783 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33784 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33785 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33786 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33787 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33788 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33789 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33790 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33791 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33792 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33793 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33794 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33795 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33796 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33797 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33798 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33799 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33800 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33801 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33802 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33803 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33804 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33805 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33806 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33807 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33808 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33809 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33810 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33811 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33812 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33813 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33814 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33815 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33816 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33817 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33818 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33819 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33820 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33821 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33822 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33823 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33824 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33825 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33826 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33827 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33828 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33829 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33830 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33831 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33832 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33833 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33834 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33835 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33836 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33837 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33838 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33839 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33840 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33841 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33842 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33843 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33844 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33867 // Map renamed classes back to their common name for OOR
33868 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33870 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33871 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33872 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33873 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33874 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33875 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33876 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33877 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33878 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33879 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33880 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33881 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33882 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33883 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33884 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33885 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33886 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33887 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33888 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33889 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33890 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33891 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33892 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33893 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33894 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33895 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33896 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33897 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33898 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33899 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33900 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33901 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33902 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33903 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33904 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33905 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33906 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33908 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33909 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33910 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33911 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33912 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33913 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33914 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33916 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33917 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33918 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33921 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33922 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33923 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33924 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33925 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33927 // Map renamed classes back to their common name for OOR
33928 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33929 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33931 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33932 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33933 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33934 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33935 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33936 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33937 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33938 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33939 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33940 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33942 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");