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
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxListbook
*arg1
= (wxListbook
*) 0 ;
15869 wxListView
*result
;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxListView
*)(arg1
)->GetListView();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15892 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15895 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15897 return Py_BuildValue((char *)"");
15899 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15902 int arg2
= (int) 0 ;
15903 int arg3
= (int) -1 ;
15904 int arg4
= (int) -1 ;
15905 wxListbookEvent
*result
;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 PyObject
* obj2
= 0 ;
15909 PyObject
* obj3
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15916 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 arg2
= (int)SWIG_As_int(obj1
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 arg3
= (int)SWIG_As_int(obj2
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 arg4
= (int)SWIG_As_int(obj3
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15945 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15948 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15950 return Py_BuildValue((char *)"");
15952 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15955 wxBookCtrlSizer
*result
;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "nb", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15978 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",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 (arg1
)->RecalcSizes();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (arg1
)->CalcMin();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 wxSize
* resultptr
;
16024 resultptr
= new wxSize((wxSize
&) result
);
16025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16033 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16036 wxBookCtrl
*result
;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16059 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16062 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16064 return Py_BuildValue((char *)"");
16066 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16069 wxNotebookSizer
*result
;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "nb", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16092 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",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 (arg1
)->RecalcSizes();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (arg1
)->CalcMin();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 wxSize
* resultptr
;
16138 resultptr
= new wxSize((wxSize
&) result
);
16139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16147 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16150 wxNotebook
*result
;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= wxPyMake_wxObject(result
, 0);
16175 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16178 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16180 return Py_BuildValue((char *)"");
16182 static PyObject
*_wrap_ToolBarToolBase_GetId(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_GetId",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
= (int)(arg1
)->GetId();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= SWIG_From_int((int)result
);
16208 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (wxControl
*)(arg1
)->GetControl();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= wxPyMake_wxObject(result
, 0);
16236 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16239 wxToolBarBase
*result
;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= wxPyMake_wxObject(result
, 0);
16264 static PyObject
*_wrap_ToolBarToolBase_IsButton(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_IsButton",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
)->IsButton();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_From_int((int)result
);
16290 static PyObject
*_wrap_ToolBarToolBase_IsControl(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_IsControl",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
)->IsControl();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)result
);
16316 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator",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
)->IsSeparator();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_From_int((int)result
);
16342 static PyObject
*_wrap_ToolBarToolBase_GetStyle(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_GetStyle",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
)->GetStyle();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= SWIG_From_int((int)result
);
16368 static PyObject
*_wrap_ToolBarToolBase_GetKind(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_GetKind",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
= (int)(arg1
)->GetKind();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_From_int((int)result
);
16394 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->IsEnabled();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (bool)(arg1
)->IsToggled();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)(arg1
)->CanBeToggled();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16478 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16494 result
= (wxBitmap
*) &_result_ref
;
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 wxBitmap
* resultptr
= new wxBitmap(*result
);
16502 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16510 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16526 result
= (wxBitmap
*) &_result_ref
;
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 wxBitmap
* resultptr
= new wxBitmap(*result
);
16534 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16542 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (arg1
)->GetBitmap();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 wxBitmap
* resultptr
;
16563 resultptr
= new wxBitmap((wxBitmap
&) result
);
16564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16572 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (arg1
)->GetLabel();
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16604 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (arg1
)->GetShortHelp();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16636 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (arg1
)->GetLongHelp();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16668 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self",(char *) "enable", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16682 arg2
= (bool)SWIG_As_bool(obj1
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (bool)(arg1
)->Enable(arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 Py_INCREF(Py_None
); resultobj
= Py_None
;
16725 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "toggle", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 arg2
= (bool)SWIG_As_bool(obj1
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (bool)(arg1
)->SetToggle(arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16757 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16760 wxString
*arg2
= 0 ;
16762 bool temp2
= False
;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self",(char *) "help", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 arg2
= wxString_in_helper(obj1
);
16774 if (arg2
== NULL
) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16804 wxString
*arg2
= 0 ;
16806 bool temp2
= False
;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self",(char *) "help", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16817 arg2
= wxString_in_helper(obj1
);
16818 if (arg2
== NULL
) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16845 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16848 wxBitmap
*arg2
= 0 ;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self",(char *) "bmp", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16861 if (arg2
== NULL
) {
16862 PyErr_SetString(PyExc_TypeError
,"null reference");
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 Py_INCREF(Py_None
); resultobj
= Py_None
;
16879 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16882 wxBitmap
*arg2
= 0 ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "bmp", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16895 if (arg2
== NULL
) {
16896 PyErr_SetString(PyExc_TypeError
,"null reference");
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16916 wxString
*arg2
= 0 ;
16917 bool temp2
= False
;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "label", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 arg2
= wxString_in_helper(obj1
);
16929 if (arg2
== NULL
) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->SetLabel((wxString
const &)*arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16954 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16982 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self",(char *) "tbar", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->Attach(arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= result
;
17034 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17037 PyObject
*arg2
= (PyObject
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self",(char *) "clientData", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17067 return Py_BuildValue((char *)"");
17069 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17073 wxString
*arg3
= 0 ;
17074 wxBitmap
*arg4
= 0 ;
17075 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17076 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17077 int arg6
= (int) wxITEM_NORMAL
;
17078 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17080 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17082 PyObject
*arg9
= (PyObject
*) NULL
;
17083 wxToolBarToolBase
*result
;
17084 bool temp3
= False
;
17085 bool temp7
= False
;
17086 bool temp8
= False
;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 PyObject
* obj2
= 0 ;
17090 PyObject
* obj3
= 0 ;
17091 PyObject
* obj4
= 0 ;
17092 PyObject
* obj5
= 0 ;
17093 PyObject
* obj6
= 0 ;
17094 PyObject
* obj7
= 0 ;
17095 PyObject
* obj8
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17103 arg2
= (int)SWIG_As_int(obj1
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 arg3
= wxString_in_helper(obj2
);
17107 if (arg3
== NULL
) SWIG_fail
;
17110 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17113 if (arg4
== NULL
) {
17114 PyErr_SetString(PyExc_TypeError
,"null reference");
17118 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17121 if (arg5
== NULL
) {
17122 PyErr_SetString(PyExc_TypeError
,"null reference");
17127 arg6
= (int)SWIG_As_int(obj5
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17132 arg7
= wxString_in_helper(obj6
);
17133 if (arg7
== NULL
) SWIG_fail
;
17139 arg8
= wxString_in_helper(obj7
);
17140 if (arg8
== NULL
) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= wxPyMake_wxObject(result
, 0);
17187 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17192 wxString
*arg4
= 0 ;
17193 wxBitmap
*arg5
= 0 ;
17194 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17195 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17196 int arg7
= (int) wxITEM_NORMAL
;
17197 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17199 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17200 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17201 PyObject
*arg10
= (PyObject
*) NULL
;
17202 wxToolBarToolBase
*result
;
17203 bool temp4
= False
;
17204 bool temp8
= False
;
17205 bool temp9
= False
;
17206 PyObject
* obj0
= 0 ;
17207 PyObject
* obj1
= 0 ;
17208 PyObject
* obj2
= 0 ;
17209 PyObject
* obj3
= 0 ;
17210 PyObject
* obj4
= 0 ;
17211 PyObject
* obj5
= 0 ;
17212 PyObject
* obj6
= 0 ;
17213 PyObject
* obj7
= 0 ;
17214 PyObject
* obj8
= 0 ;
17215 PyObject
* obj9
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17225 arg3
= (int)SWIG_As_int(obj2
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 arg4
= wxString_in_helper(obj3
);
17229 if (arg4
== NULL
) SWIG_fail
;
17232 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17235 if (arg5
== NULL
) {
17236 PyErr_SetString(PyExc_TypeError
,"null reference");
17240 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17243 if (arg6
== NULL
) {
17244 PyErr_SetString(PyExc_TypeError
,"null reference");
17249 arg7
= (int)SWIG_As_int(obj6
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17254 arg8
= wxString_in_helper(obj7
);
17255 if (arg8
== NULL
) SWIG_fail
;
17261 arg9
= wxString_in_helper(obj8
);
17262 if (arg9
== NULL
) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 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
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= wxPyMake_wxObject(result
, 0);
17309 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17312 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17313 wxToolBarToolBase
*result
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "tool", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= wxPyMake_wxObject(result
, 0);
17341 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17345 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17346 wxToolBarToolBase
*result
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "pos",(char *) "tool", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17357 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= wxPyMake_wxObject(result
, 0);
17377 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17380 wxControl
*arg2
= (wxControl
*) 0 ;
17381 wxToolBarToolBase
*result
;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "control", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= wxPyMake_wxObject(result
, 0);
17409 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17413 wxControl
*arg3
= (wxControl
*) 0 ;
17414 wxToolBarToolBase
*result
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 PyObject
* obj2
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "pos",(char *) "control", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17427 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= wxPyMake_wxObject(result
, 0);
17445 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "id", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (int)SWIG_As_int(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= wxPyMake_wxObject(result
, 0);
17477 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17480 wxToolBarToolBase
*result
;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= wxPyMake_wxObject(result
, 0);
17505 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17509 wxToolBarToolBase
*result
;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "pos", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= wxPyMake_wxObject(result
, 0);
17537 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17541 wxToolBarToolBase
*result
;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "id", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 arg2
= (int)SWIG_As_int(obj1
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= wxPyMake_wxObject(result
, 0);
17569 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "pos", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17601 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self",(char *) "id", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17615 arg2
= (int)SWIG_As_int(obj1
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)(arg1
)->DeleteTool(arg2
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17633 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",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 (arg1
)->ClearTools();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 Py_INCREF(Py_None
); resultobj
= Py_None
;
17658 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (bool)(arg1
)->Realize();
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17686 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "id",(char *) "enable", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 arg2
= (int)SWIG_As_int(obj1
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17703 arg3
= (bool)SWIG_As_bool(obj2
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->EnableTool(arg2
,arg3
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 Py_INCREF(Py_None
); resultobj
= Py_None
;
17719 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 PyObject
* obj2
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "id",(char *) "toggle", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 arg2
= (int)SWIG_As_int(obj1
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17736 arg3
= (bool)SWIG_As_bool(obj2
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->ToggleTool(arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 PyObject
* obj2
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "id",(char *) "toggle", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 arg2
= (int)SWIG_As_int(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17769 arg3
= (bool)SWIG_As_bool(obj2
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->SetToggle(arg2
,arg3
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 Py_INCREF(Py_None
); resultobj
= Py_None
;
17785 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "id", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 arg2
= (int)SWIG_As_int(obj1
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
;
17815 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17819 PyObject
*arg3
= (PyObject
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "id",(char *) "clientData", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 arg2
= (int)SWIG_As_int(obj1
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 Py_INCREF(Py_None
); resultobj
= Py_None
;
17847 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "id", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 arg2
= (int)SWIG_As_int(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_From_int((int)result
);
17877 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "id", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 arg2
= (int)SWIG_As_int(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (bool)(arg1
)->GetToolState(arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17909 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "id", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 arg2
= (int)SWIG_As_int(obj1
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17941 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17945 wxString
*arg3
= 0 ;
17946 bool temp3
= False
;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 PyObject
* obj2
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "id",(char *) "helpString", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= (int)SWIG_As_int(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 arg3
= wxString_in_helper(obj2
);
17961 if (arg3
== NULL
) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17986 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "id", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 arg2
= (int)SWIG_As_int(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (arg1
)->GetToolShortHelp(arg2
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18022 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18026 wxString
*arg3
= 0 ;
18027 bool temp3
= False
;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "id",(char *) "helpString", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (int)SWIG_As_int(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 arg3
= wxString_in_helper(obj2
);
18042 if (arg3
== NULL
) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "id", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 arg2
= (int)SWIG_As_int(obj1
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= (arg1
)->GetToolLongHelp(arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18103 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 PyObject
* obj2
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "x",(char *) "y", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (int)SWIG_As_int(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18120 arg3
= (int)SWIG_As_int(obj2
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->SetMargins(arg2
,arg3
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 Py_INCREF(Py_None
); resultobj
= Py_None
;
18136 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self",(char *) "size", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 Py_INCREF(Py_None
); resultobj
= Py_None
;
18168 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "packing", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18181 arg2
= (int)SWIG_As_int(obj1
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->SetToolPacking(arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self",(char *) "separation", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 arg2
= (int)SWIG_As_int(obj1
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->SetToolSeparation(arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (arg1
)->GetToolMargins();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 wxSize
* resultptr
;
18247 resultptr
= new wxSize((wxSize
&) result
);
18248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18256 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (arg1
)->GetMargins();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 wxSize
* resultptr
;
18277 resultptr
= new wxSize((wxSize
&) result
);
18278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18286 static PyObject
*_wrap_ToolBarBase_GetToolPacking(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_GetToolPacking",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
)->GetToolPacking();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_From_int((int)result
);
18312 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (int)(arg1
)->GetToolSeparation();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_From_int((int)result
);
18338 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "nRows", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 arg2
= (int)SWIG_As_int(obj1
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetRows(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 PyObject
* obj2
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self",(char *) "rows",(char *) "cols", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 arg2
= (int)SWIG_As_int(obj1
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18384 arg3
= (int)SWIG_As_int(obj2
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 Py_INCREF(Py_None
); resultobj
= Py_None
;
18400 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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
)->GetMaxRows();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_From_int((int)result
);
18426 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (int)(arg1
)->GetMaxCols();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_From_int((int)result
);
18452 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "size", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (arg1
)->GetToolBitmapSize();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 wxSize
* resultptr
;
18505 resultptr
= new wxSize((wxSize
&) result
);
18506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18514 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (arg1
)->GetToolSize();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 wxSize
* resultptr
;
18535 resultptr
= new wxSize((wxSize
&) result
);
18536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18544 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18549 wxToolBarToolBase
*result
;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self",(char *) "x",(char *) "y", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 arg2
= (int)SWIG_As_int(obj1
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18562 arg3
= (int)SWIG_As_int(obj2
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= wxPyMake_wxObject(result
, 0);
18580 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18584 wxToolBarToolBase
*result
;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "toolid", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (int)SWIG_As_int(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= wxPyMake_wxObject(result
, 0);
18612 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 result
= (bool)(arg1
)->IsVertical();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18640 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18643 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18645 return Py_BuildValue((char *)"");
18647 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxWindow
*arg1
= (wxWindow
*) 0 ;
18650 int arg2
= (int) -1 ;
18651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18653 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18654 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18655 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18656 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18657 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18661 bool temp6
= False
;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 PyObject
* obj2
= 0 ;
18665 PyObject
* obj3
= 0 ;
18666 PyObject
* obj4
= 0 ;
18667 PyObject
* obj5
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 arg2
= (int)SWIG_As_int(obj1
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18692 arg5
= (long)SWIG_As_long(obj4
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18697 arg6
= wxString_in_helper(obj5
);
18698 if (arg6
== NULL
) SWIG_fail
;
18703 if (!wxPyCheckForApp()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18725 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18728 char *kwnames
[] = {
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18734 if (!wxPyCheckForApp()) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (wxToolBar
*)new wxToolBar();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18748 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18751 wxWindow
*arg2
= (wxWindow
*) 0 ;
18752 int arg3
= (int) -1 ;
18753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18757 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18758 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18763 bool temp7
= False
;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 PyObject
* obj2
= 0 ;
18767 PyObject
* obj3
= 0 ;
18768 PyObject
* obj4
= 0 ;
18769 PyObject
* obj5
= 0 ;
18770 PyObject
* obj6
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 arg3
= (int)SWIG_As_int(obj2
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18797 arg6
= (long)SWIG_As_long(obj5
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18802 arg7
= wxString_in_helper(obj6
);
18803 if (arg7
== NULL
) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18831 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18836 wxToolBarToolBase
*result
;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 PyObject
* obj2
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "x",(char *) "y", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18847 arg2
= (int)SWIG_As_int(obj1
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18849 arg3
= (int)SWIG_As_int(obj2
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= wxPyMake_wxObject(result
, 0);
18867 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18870 wxVisualAttributes result
;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "variant", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18878 arg1
= (int)SWIG_As_int(obj0
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 if (!wxPyCheckForApp()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 wxVisualAttributes
* resultptr
;
18891 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18900 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18903 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18905 return Py_BuildValue((char *)"");
18907 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18908 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18913 static PyObject
*_wrap_ListCtrlNameStr_get() {
18918 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18920 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18927 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxColour
const &arg1_defvalue
= wxNullColour
;
18930 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18931 wxColour
const &arg2_defvalue
= wxNullColour
;
18932 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18933 wxFont
const &arg3_defvalue
= wxNullFont
;
18934 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18935 wxListItemAttr
*result
;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18949 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18959 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18962 if (arg3
== NULL
) {
18963 PyErr_SetString(PyExc_TypeError
,"null reference");
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18981 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18984 wxColour
*arg2
= 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "colText", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19016 wxColour
*arg2
= 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "colBack", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "font", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19061 if (arg2
== NULL
) {
19062 PyErr_SetString(PyExc_TypeError
,"null reference");
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->SetFont((wxFont
const &)*arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (bool)(arg1
)->HasTextColour();
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19107 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (bool)(arg1
)->HasBackgroundColour();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19135 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (bool)(arg1
)->HasFont();
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19163 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (arg1
)->GetTextColour();
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19183 wxColour
* resultptr
;
19184 resultptr
= new wxColour((wxColour
&) result
);
19185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19193 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19197 PyObject
* obj0
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (arg1
)->GetBackgroundColour();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 wxColour
* resultptr
;
19214 resultptr
= new wxColour((wxColour
&) result
);
19215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19223 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (arg1
)->GetFont();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 wxFont
* resultptr
;
19244 resultptr
= new wxFont((wxFont
&) result
);
19245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19253 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 wxListItemAttr_Destroy(arg1
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19281 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19283 return Py_BuildValue((char *)"");
19285 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItem
*result
;
19288 char *kwnames
[] = {
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (wxListItem
*)new wxListItem();
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= wxPyMake_wxObject(result
, 1);
19309 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxListItem
*arg1
= (wxListItem
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 Py_INCREF(Py_None
); resultobj
= Py_None
;
19334 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxListItem
*arg1
= (wxListItem
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxListItem
*arg1
= (wxListItem
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->ClearAttributes();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxListItem
*arg1
= (wxListItem
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "mask", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 arg2
= (long)SWIG_As_long(obj1
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetMask(arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxListItem
*arg1
= (wxListItem
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "id", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (long)SWIG_As_long(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->SetId(arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxListItem
*arg1
= (wxListItem
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "col", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19455 arg2
= (int)SWIG_As_int(obj1
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->SetColumn(arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxListItem
*arg1
= (wxListItem
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "state", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 arg2
= (long)SWIG_As_long(obj1
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 (arg1
)->SetState(arg2
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxListItem
*arg1
= (wxListItem
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "stateMask", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 arg2
= (long)SWIG_As_long(obj1
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 (arg1
)->SetStateMask(arg2
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19529 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxListItem
*arg1
= (wxListItem
*) 0 ;
19532 wxString
*arg2
= 0 ;
19533 bool temp2
= False
;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "text", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 arg2
= wxString_in_helper(obj1
);
19545 if (arg2
== NULL
) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->SetText((wxString
const &)*arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19570 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxListItem
*arg1
= (wxListItem
*) 0 ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self",(char *) "image", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19583 arg2
= (int)SWIG_As_int(obj1
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetImage(arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxListItem
*arg1
= (wxListItem
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "data", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 arg2
= (long)SWIG_As_long(obj1
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 (arg1
)->SetData(arg2
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxListItem
*arg1
= (wxListItem
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self",(char *) "width", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19641 arg2
= (int)SWIG_As_int(obj1
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 (arg1
)->SetWidth(arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 Py_INCREF(Py_None
); resultobj
= Py_None
;
19657 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxListItem
*arg1
= (wxListItem
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self",(char *) "align", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 arg2
= (int)SWIG_As_int(obj1
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxListItem
*arg1
= (wxListItem
*) 0 ;
19689 wxColour
*arg2
= 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "colText", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 Py_INCREF(Py_None
); resultobj
= Py_None
;
19718 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxListItem
*arg1
= (wxListItem
*) 0 ;
19721 wxColour
*arg2
= 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self",(char *) "colBack", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 Py_INCREF(Py_None
); resultobj
= Py_None
;
19750 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxListItem
*arg1
= (wxListItem
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self",(char *) "font", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19766 if (arg2
== NULL
) {
19767 PyErr_SetString(PyExc_TypeError
,"null reference");
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 (arg1
)->SetFont((wxFont
const &)*arg2
);
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 Py_INCREF(Py_None
); resultobj
= Py_None
;
19784 static PyObject
*_wrap_ListItem_GetMask(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_GetMask",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
)->GetMask();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_From_long((long)result
);
19810 static PyObject
*_wrap_ListItem_GetId(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_GetId",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
= (long)(arg1
)->GetId();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_From_long((long)result
);
19836 static PyObject
*_wrap_ListItem_GetColumn(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_GetColumn",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
= (int)(arg1
)->GetColumn();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_From_int((int)result
);
19862 static PyObject
*_wrap_ListItem_GetState(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_GetState",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();
19876 result
= (long)(arg1
)->GetState();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_From_long((long)result
);
19888 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxListItem
*arg1
= (wxListItem
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 wxString
const &_result_ref
= (arg1
)->GetText();
19904 result
= (wxString
*) &_result_ref
;
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19914 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19923 static PyObject
*_wrap_ListItem_GetImage(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_GetImage",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
= (int)(arg1
)->GetImage();
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= SWIG_From_int((int)result
);
19949 static PyObject
*_wrap_ListItem_GetData(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_GetData",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
= (long)(arg1
)->GetData();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_From_long((long)result
);
19975 static PyObject
*_wrap_ListItem_GetWidth(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_GetWidth",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
)->GetWidth();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_From_int((int)result
);
20001 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxListItem
*arg1
= (wxListItem
*) 0 ;
20005 PyObject
* obj0
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",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
= (int)(arg1
)->GetAlign();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_From_int((int)result
);
20027 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxListItem
*arg1
= (wxListItem
*) 0 ;
20030 wxListItemAttr
*result
;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",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
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20053 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxListItem
*arg1
= (wxListItem
*) 0 ;
20057 PyObject
* obj0
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= (bool)(arg1
)->HasAttributes();
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20081 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxListItem
*arg1
= (wxListItem
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 wxColour
* resultptr
;
20102 resultptr
= new wxColour((wxColour
&) result
);
20103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20111 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxListItem
*arg1
= (wxListItem
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20131 wxColour
* resultptr
;
20132 resultptr
= new wxColour((wxColour
&) result
);
20133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20141 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxListItem
*arg1
= (wxListItem
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= ((wxListItem
const *)arg1
)->GetFont();
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 wxFont
* resultptr
;
20162 resultptr
= new wxFont((wxFont
&) result
);
20163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20171 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxListItem
*arg1
= (wxListItem
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "m_mask", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 arg2
= (long)SWIG_As_long(obj1
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20186 if (arg1
) (arg1
)->m_mask
= arg2
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxListItem
*arg1
= (wxListItem
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20207 result
= (long) ((arg1
)->m_mask
);
20209 resultobj
= SWIG_From_long((long)result
);
20216 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxListItem
*arg1
= (wxListItem
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self",(char *) "m_itemId", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 arg2
= (long)SWIG_As_long(obj1
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20231 if (arg1
) (arg1
)->m_itemId
= arg2
;
20233 Py_INCREF(Py_None
); resultobj
= Py_None
;
20240 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxListItem
*arg1
= (wxListItem
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20252 result
= (long) ((arg1
)->m_itemId
);
20254 resultobj
= SWIG_From_long((long)result
);
20261 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxListItem
*arg1
= (wxListItem
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self",(char *) "m_col", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 arg2
= (int)SWIG_As_int(obj1
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20276 if (arg1
) (arg1
)->m_col
= arg2
;
20278 Py_INCREF(Py_None
); resultobj
= Py_None
;
20285 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxListItem
*arg1
= (wxListItem
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 result
= (int) ((arg1
)->m_col
);
20299 resultobj
= SWIG_From_int((int)result
);
20306 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxListItem
*arg1
= (wxListItem
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "m_state", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20319 arg2
= (long)SWIG_As_long(obj1
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20321 if (arg1
) (arg1
)->m_state
= arg2
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20330 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxListItem
*arg1
= (wxListItem
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 result
= (long) ((arg1
)->m_state
);
20344 resultobj
= SWIG_From_long((long)result
);
20351 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxListItem
*arg1
= (wxListItem
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "m_stateMask", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20364 arg2
= (long)SWIG_As_long(obj1
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20366 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20368 Py_INCREF(Py_None
); resultobj
= Py_None
;
20375 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxListItem
*arg1
= (wxListItem
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 result
= (long) ((arg1
)->m_stateMask
);
20389 resultobj
= SWIG_From_long((long)result
);
20396 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxListItem
*arg1
= (wxListItem
*) 0 ;
20399 wxString
*arg2
= (wxString
*) 0 ;
20400 bool temp2
= False
;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "m_text", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 arg2
= wxString_in_helper(obj1
);
20412 if (arg2
== NULL
) SWIG_fail
;
20415 if (arg1
) (arg1
)->m_text
= *arg2
;
20417 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxListItem
*arg1
= (wxListItem
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 result
= (wxString
*)& ((arg1
)->m_text
);
20448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20459 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxListItem
*arg1
= (wxListItem
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "m_image", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 arg2
= (int)SWIG_As_int(obj1
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20474 if (arg1
) (arg1
)->m_image
= arg2
;
20476 Py_INCREF(Py_None
); resultobj
= Py_None
;
20483 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxListItem
*arg1
= (wxListItem
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 result
= (int) ((arg1
)->m_image
);
20497 resultobj
= SWIG_From_int((int)result
);
20504 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxListItem
*arg1
= (wxListItem
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "m_data", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20517 arg2
= (long)SWIG_As_long(obj1
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20519 if (arg1
) (arg1
)->m_data
= arg2
;
20521 Py_INCREF(Py_None
); resultobj
= Py_None
;
20528 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxListItem
*arg1
= (wxListItem
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20540 result
= (long) ((arg1
)->m_data
);
20542 resultobj
= SWIG_From_long((long)result
);
20549 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxListItem
*arg1
= (wxListItem
*) 0 ;
20553 PyObject
* obj0
= 0 ;
20554 PyObject
* obj1
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self",(char *) "m_format", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20562 arg2
= (int)SWIG_As_int(obj1
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20564 if (arg1
) (arg1
)->m_format
= arg2
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxListItem
*arg1
= (wxListItem
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20585 result
= (int) ((arg1
)->m_format
);
20587 resultobj
= SWIG_From_int((int)result
);
20594 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxListItem
*arg1
= (wxListItem
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "m_width", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 arg2
= (int)SWIG_As_int(obj1
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20609 if (arg1
) (arg1
)->m_width
= arg2
;
20611 Py_INCREF(Py_None
); resultobj
= Py_None
;
20618 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxListItem
*arg1
= (wxListItem
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20630 result
= (int) ((arg1
)->m_width
);
20632 resultobj
= SWIG_From_int((int)result
);
20639 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20642 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20644 return Py_BuildValue((char *)"");
20646 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20649 int arg2
= (int) 0 ;
20650 wxListEvent
*result
;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "commandType",(char *) "id", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20659 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 arg2
= (int)SWIG_As_int(obj1
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20680 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self",(char *) "m_code", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20693 arg2
= (int)SWIG_As_int(obj1
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20695 if (arg1
) (arg1
)->m_code
= arg2
;
20697 Py_INCREF(Py_None
); resultobj
= Py_None
;
20704 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
;
20706 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 char *kwnames
[] = {
20710 (char *) "self", NULL
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 result
= (int) ((arg1
)->m_code
);
20718 resultobj
= SWIG_From_int((int)result
);
20725 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self",(char *) "m_oldItemIndex", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 arg2
= (long)SWIG_As_long(obj1
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20740 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 result
= (long) ((arg1
)->m_oldItemIndex
);
20763 resultobj
= SWIG_From_long((long)result
);
20770 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self",(char *) "m_itemIndex", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20783 arg2
= (long)SWIG_As_long(obj1
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20785 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20787 Py_INCREF(Py_None
); resultobj
= Py_None
;
20794 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20806 result
= (long) ((arg1
)->m_itemIndex
);
20808 resultobj
= SWIG_From_long((long)result
);
20815 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "m_col", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 arg2
= (int)SWIG_As_int(obj1
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20830 if (arg1
) (arg1
)->m_col
= arg2
;
20832 Py_INCREF(Py_None
); resultobj
= Py_None
;
20839 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 result
= (int) ((arg1
)->m_col
);
20853 resultobj
= SWIG_From_int((int)result
);
20860 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20863 wxPoint
*arg2
= (wxPoint
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "m_pointDrag", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20875 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20905 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20908 wxListItem
*result
;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 result
= (wxListItem
*)& ((arg1
)->m_item
);
20920 resultobj
= wxPyMake_wxObject(result
, 0);
20928 static PyObject
*_wrap_ListEvent_GetKeyCode(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_GetKeyCode",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
= (int)(arg1
)->GetKeyCode();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_int((int)result
);
20954 static PyObject
*_wrap_ListEvent_GetIndex(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_GetIndex",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
= (long)(arg1
)->GetIndex();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_From_long((long)result
);
20980 static PyObject
*_wrap_ListEvent_GetColumn(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_GetColumn",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
= (int)(arg1
)->GetColumn();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_From_int((int)result
);
21006 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21010 PyObject
* obj0
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (arg1
)->GetPoint();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 wxPoint
* resultptr
;
21027 resultptr
= new wxPoint((wxPoint
&) result
);
21028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21036 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 wxString
const &_result_ref
= (arg1
)->GetLabel();
21052 result
= (wxString
*) &_result_ref
;
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21071 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 wxString
const &_result_ref
= (arg1
)->GetText();
21087 result
= (wxString
*) &_result_ref
;
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21106 static PyObject
*_wrap_ListEvent_GetImage(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_GetImage",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
= (int)(arg1
)->GetImage();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_int((int)result
);
21132 static PyObject
*_wrap_ListEvent_GetData(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_GetData",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
)->GetData();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_From_long((long)result
);
21158 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",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();
21172 result
= (long)(arg1
)->GetMask();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_long((long)result
);
21184 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21187 wxListItem
*result
;
21188 PyObject
* obj0
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21200 result
= (wxListItem
*) &_result_ref
;
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21213 static PyObject
*_wrap_ListEvent_GetCacheFrom(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_GetCacheFrom",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
)->GetCacheFrom();
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_From_long((long)result
);
21239 static PyObject
*_wrap_ListEvent_GetCacheTo(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_GetCacheTo",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
= (long)(arg1
)->GetCacheTo();
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= SWIG_From_long((long)result
);
21265 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "editCancelled", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 arg2
= (bool)SWIG_As_bool(obj1
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->SetEditCanceled(arg2
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21325 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21327 return Py_BuildValue((char *)"");
21329 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxWindow
*arg1
= (wxWindow
*) 0 ;
21332 int arg2
= (int) -1 ;
21333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21335 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21336 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21337 long arg5
= (long) wxLC_ICON
;
21338 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21339 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21340 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21341 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21342 wxPyListCtrl
*result
;
21345 bool temp7
= False
;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 PyObject
* obj2
= 0 ;
21349 PyObject
* obj3
= 0 ;
21350 PyObject
* obj4
= 0 ;
21351 PyObject
* obj5
= 0 ;
21352 PyObject
* obj6
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21361 arg2
= (int)SWIG_As_int(obj1
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21377 arg5
= (long)SWIG_As_long(obj4
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21384 if (arg6
== NULL
) {
21385 PyErr_SetString(PyExc_TypeError
,"null reference");
21391 arg7
= wxString_in_helper(obj6
);
21392 if (arg7
== NULL
) SWIG_fail
;
21397 if (!wxPyCheckForApp()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21419 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxPyListCtrl
*result
;
21422 char *kwnames
[] = {
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21428 if (!wxPyCheckForApp()) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21442 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21445 wxWindow
*arg2
= (wxWindow
*) 0 ;
21446 int arg3
= (int) -1 ;
21447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21451 long arg6
= (long) wxLC_ICON
;
21452 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21453 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21454 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21455 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21459 bool temp8
= False
;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 PyObject
* obj3
= 0 ;
21464 PyObject
* obj4
= 0 ;
21465 PyObject
* obj5
= 0 ;
21466 PyObject
* obj6
= 0 ;
21467 PyObject
* obj7
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 arg3
= (int)SWIG_As_int(obj2
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21494 arg6
= (long)SWIG_As_long(obj5
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21501 if (arg7
== NULL
) {
21502 PyErr_SetString(PyExc_TypeError
,"null reference");
21508 arg8
= wxString_in_helper(obj7
);
21509 if (arg8
== NULL
) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21540 PyObject
*arg2
= (PyObject
*) 0 ;
21541 PyObject
*arg3
= (PyObject
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "self",(char *) "_class", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 Py_INCREF(Py_None
); resultobj
= Py_None
;
21568 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21571 wxColour
*arg2
= 0 ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "col", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21603 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21606 wxColour
*arg2
= 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "col", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21638 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 wxListItem
*result
;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "col", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21652 arg2
= (int)SWIG_As_int(obj1
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= wxPyMake_wxObject(result
, 0);
21670 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21674 wxListItem
*arg3
= 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 PyObject
* obj2
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "col",(char *) "item", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 arg2
= (int)SWIG_As_int(obj1
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21688 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21691 if (arg3
== NULL
) {
21692 PyErr_SetString(PyExc_TypeError
,"null reference");
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21711 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "col", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 arg2
= (int)SWIG_As_int(obj1
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_From_int((int)result
);
21741 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "col",(char *) "width", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21757 arg2
= (int)SWIG_As_int(obj1
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21759 arg3
= (int)SWIG_As_int(obj2
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21777 static PyObject
*_wrap_ListCtrl_GetCountPerPage(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_GetCountPerPage",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
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_From_int((int)result
);
21803 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 wxRect
* resultptr
;
21824 resultptr
= new wxRect((wxRect
&) result
);
21825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21833 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21836 wxTextCtrl
*result
;
21837 PyObject
* obj0
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= wxPyMake_wxObject(result
, 0);
21861 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21865 int arg3
= (int) 0 ;
21866 wxListItem
*result
;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 PyObject
* obj2
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "itemId",(char *) "col", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 arg2
= (long)SWIG_As_long(obj1
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 arg3
= (int)SWIG_As_int(obj2
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= wxPyMake_wxObject(result
, 0);
21899 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21902 wxListItem
*arg2
= 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "info", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21916 if (arg2
== NULL
) {
21917 PyErr_SetString(PyExc_TypeError
,"null reference");
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)(arg1
)->SetItem(*arg2
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21941 wxString
*arg4
= 0 ;
21942 int arg5
= (int) -1 ;
21944 bool temp4
= False
;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 PyObject
* obj3
= 0 ;
21949 PyObject
* obj4
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 arg2
= (long)SWIG_As_long(obj1
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21959 arg3
= (int)SWIG_As_int(obj2
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 arg4
= wxString_in_helper(obj3
);
21963 if (arg4
== NULL
) SWIG_fail
;
21967 arg5
= (int)SWIG_As_int(obj4
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_From_long((long)result
);
21992 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 arg2
= (long)SWIG_As_long(obj1
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22010 arg3
= (long)SWIG_As_long(obj2
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_From_int((int)result
);
22026 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 PyObject
* obj2
= 0 ;
22036 PyObject
* obj3
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 arg2
= (long)SWIG_As_long(obj1
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22046 arg3
= (long)SWIG_As_long(obj2
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22048 arg4
= (long)SWIG_As_long(obj3
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 PyObject
* obj1
= 0 ;
22075 PyObject
* obj2
= 0 ;
22076 PyObject
* obj3
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 arg2
= (long)SWIG_As_long(obj1
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22086 arg3
= (int)SWIG_As_int(obj2
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22088 arg4
= (int)SWIG_As_int(obj3
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22106 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "item", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg2
= (long)SWIG_As_long(obj1
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22142 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22146 wxString
*arg3
= 0 ;
22147 bool temp3
= False
;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "item",(char *) "str", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (long)SWIG_As_long(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 arg3
= wxString_in_helper(obj2
);
22162 if (arg3
== NULL
) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22187 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self",(char *) "item", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22201 arg2
= (long)SWIG_As_long(obj1
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_From_long((long)result
);
22217 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 PyObject
* obj2
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "item",(char *) "data", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 arg2
= (long)SWIG_As_long(obj1
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22235 arg3
= (long)SWIG_As_long(obj2
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22253 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "item", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22267 arg2
= (long)SWIG_As_long(obj1
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 wxPoint
* resultptr
;
22278 resultptr
= new wxPoint((wxPoint
&) result
);
22279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22287 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22291 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj2
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "item",(char *) "code", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 arg2
= (long)SWIG_As_long(obj1
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 arg3
= (int)SWIG_As_int(obj2
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 wxRect
* resultptr
;
22318 resultptr
= new wxRect((wxRect
&) result
);
22319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22327 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22331 wxPoint
*arg3
= 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 PyObject
* obj2
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "item",(char *) "pos", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 arg2
= (long)SWIG_As_long(obj1
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22366 static PyObject
*_wrap_ListCtrl_GetItemCount(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_GetItemCount",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
)->GetItemCount();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_From_int((int)result
);
22392 static PyObject
*_wrap_ListCtrl_GetColumnCount(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_GetColumnCount",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
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_From_int((int)result
);
22418 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22422 PyObject
* obj0
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22438 wxSize
* resultptr
;
22439 resultptr
= new wxSize((wxSize
&) result
);
22440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22448 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(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_GetSelectedItemCount",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
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_From_int((int)result
);
22474 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22494 wxColour
* resultptr
;
22495 resultptr
= new wxColour((wxColour
&) result
);
22496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22504 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22507 wxColour
*arg2
= 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "col", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 Py_INCREF(Py_None
); resultobj
= Py_None
;
22536 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_From_long((long)result
);
22562 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22566 bool arg3
= (bool) True
;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 PyObject
* obj2
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self",(char *) "style",(char *) "add", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 arg2
= (long)SWIG_As_long(obj1
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 arg3
= (bool)SWIG_As_bool(obj2
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->SetSingleStyle(arg2
,arg3
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "style", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 arg2
= (long)SWIG_As_long(obj1
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->SetWindowStyleFlag(arg2
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22630 int arg3
= (int) wxLIST_NEXT_ALL
;
22631 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 PyObject
* obj3
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 arg2
= (long)SWIG_As_long(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 arg3
= (int)SWIG_As_int(obj2
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 arg4
= (int)SWIG_As_int(obj3
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_From_long((long)result
);
22668 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22672 wxImageList
*result
;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "which", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (int)SWIG_As_int(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= wxPyMake_wxObject(result
, 0);
22700 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22703 wxImageList
*arg2
= (wxImageList
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj2
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "imageList",(char *) "which", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22717 arg3
= (int)SWIG_As_int(obj2
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->SetImageList(arg2
,arg3
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22736 wxImageList
*arg2
= (wxImageList
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 PyObject
* obj2
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "imageList",(char *) "which", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22749 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22750 arg3
= (int)SWIG_As_int(obj2
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 (arg1
)->AssignImageList(arg2
,arg3
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "item", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 arg2
= (long)SWIG_As_long(obj1
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 (arg1
)->RefreshItem(arg2
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 Py_INCREF(Py_None
); resultobj
= Py_None
;
22851 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 PyObject
* obj2
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (long)SWIG_As_long(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22868 arg3
= (long)SWIG_As_long(obj2
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->RefreshItems(arg2
,arg3
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22887 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "flag", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 arg2
= (int)SWIG_As_int(obj1
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (bool)(arg1
)->Arrange(arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22918 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self",(char *) "item", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 arg2
= (long)SWIG_As_long(obj1
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (bool)(arg1
)->DeleteItem(arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22950 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (bool)(arg1
)->DeleteAllItems();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22978 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "col", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (int)SWIG_As_int(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (bool)(arg1
)->DeleteAllColumns();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23038 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->ClearAll();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23067 wxTextCtrl
*result
;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self",(char *) "item", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 arg2
= (long)SWIG_As_long(obj1
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= wxPyMake_wxObject(result
, 0);
23095 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "cancel", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 arg2
= (bool)SWIG_As_bool(obj1
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23127 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "item", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 arg2
= (long)SWIG_As_long(obj1
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23159 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23163 wxString
*arg3
= 0 ;
23164 bool arg4
= (bool) False
;
23166 bool temp3
= False
;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 PyObject
* obj2
= 0 ;
23170 PyObject
* obj3
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 arg2
= (long)SWIG_As_long(obj1
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 arg3
= wxString_in_helper(obj2
);
23182 if (arg3
== NULL
) SWIG_fail
;
23186 arg4
= (bool)SWIG_As_bool(obj3
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_From_long((long)result
);
23211 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 PyObject
* obj2
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "start",(char *) "data", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 arg2
= (long)SWIG_As_long(obj1
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23229 arg3
= (long)SWIG_As_long(obj2
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_From_long((long)result
);
23245 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23249 wxPoint
*arg3
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 PyObject
* obj2
= 0 ;
23256 PyObject
* obj3
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 arg2
= (long)SWIG_As_long(obj1
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23270 arg4
= (int)SWIG_As_int(obj3
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_From_long((long)result
);
23286 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23289 wxPoint
*arg2
= 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "point", NULL
23301 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_From_long((long)result
);
23317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23318 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23325 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23328 wxListItem
*arg2
= 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "info", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23342 if (arg2
== NULL
) {
23343 PyErr_SetString(PyExc_TypeError
,"null reference");
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (long)(arg1
)->InsertItem(*arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_From_long((long)result
);
23360 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23364 wxString
*arg3
= 0 ;
23366 bool temp3
= False
;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 PyObject
* obj2
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "index",(char *) "label", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 arg2
= (long)SWIG_As_long(obj1
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 arg3
= wxString_in_helper(obj2
);
23381 if (arg3
== NULL
) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_From_long((long)result
);
23406 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23422 arg2
= (long)SWIG_As_long(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23424 arg3
= (int)SWIG_As_int(obj2
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_From_long((long)result
);
23440 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23444 wxString
*arg3
= 0 ;
23447 bool temp3
= False
;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 PyObject
* obj2
= 0 ;
23451 PyObject
* obj3
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 arg2
= (long)SWIG_As_long(obj1
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 arg3
= wxString_in_helper(obj2
);
23463 if (arg3
== NULL
) SWIG_fail
;
23466 arg4
= (int)SWIG_As_int(obj3
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_From_long((long)result
);
23490 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23494 wxListItem
*arg3
= 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 PyObject
* obj2
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "col",(char *) "info", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 arg2
= (long)SWIG_As_long(obj1
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23508 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23511 if (arg3
== NULL
) {
23512 PyErr_SetString(PyExc_TypeError
,"null reference");
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_From_long((long)result
);
23529 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23533 wxString
*arg3
= 0 ;
23534 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23535 int arg5
= (int) -1 ;
23537 bool temp3
= False
;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 PyObject
* obj2
= 0 ;
23541 PyObject
* obj3
= 0 ;
23542 PyObject
* obj4
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 arg2
= (long)SWIG_As_long(obj1
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 arg3
= wxString_in_helper(obj2
);
23554 if (arg3
== NULL
) SWIG_fail
;
23558 arg4
= (int)SWIG_As_int(obj3
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 arg5
= (int)SWIG_As_int(obj4
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_From_long((long)result
);
23587 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "count", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 arg2
= (long)SWIG_As_long(obj1
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->SetItemCount(arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 PyObject
* obj2
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "dx",(char *) "dy", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 arg2
= (int)SWIG_As_int(obj1
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23634 arg3
= (int)SWIG_As_int(obj2
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23652 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23656 wxColour
*arg3
= 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 PyObject
* obj2
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self",(char *) "item",(char *) "col", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 arg2
= (long)SWIG_As_long(obj1
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "item", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (long)SWIG_As_long(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 wxColour
* resultptr
;
23713 resultptr
= new wxColour((wxColour
&) result
);
23714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23722 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23726 wxColour
*arg3
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "item",(char *) "col", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 arg2
= (long)SWIG_As_long(obj1
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "item", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 arg2
= (long)SWIG_As_long(obj1
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 wxColour
* resultptr
;
23783 resultptr
= new wxColour((wxColour
&) result
);
23784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23792 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23795 PyObject
*arg2
= (PyObject
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self",(char *) "func", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23823 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= wxPyMake_wxObject(result
, 0);
23851 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23854 wxVisualAttributes result
;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "variant", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23862 arg1
= (int)SWIG_As_int(obj0
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23866 if (!wxPyCheckForApp()) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 wxVisualAttributes
* resultptr
;
23875 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23884 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23887 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23889 return Py_BuildValue((char *)"");
23891 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxWindow
*arg1
= (wxWindow
*) 0 ;
23894 int arg2
= (int) -1 ;
23895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23899 long arg5
= (long) wxLC_REPORT
;
23900 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23901 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23902 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23903 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23904 wxListView
*result
;
23907 bool temp7
= False
;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 PyObject
* obj2
= 0 ;
23911 PyObject
* obj3
= 0 ;
23912 PyObject
* obj4
= 0 ;
23913 PyObject
* obj5
= 0 ;
23914 PyObject
* obj6
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 arg2
= (int)SWIG_As_int(obj1
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23929 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23935 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23939 arg5
= (long)SWIG_As_long(obj4
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23943 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23946 if (arg6
== NULL
) {
23947 PyErr_SetString(PyExc_TypeError
,"null reference");
23953 arg7
= wxString_in_helper(obj6
);
23954 if (arg7
== NULL
) SWIG_fail
;
23959 if (!wxPyCheckForApp()) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23981 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxListView
*result
;
23984 char *kwnames
[] = {
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23990 if (!wxPyCheckForApp()) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxListView
*)new wxListView();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24004 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxListView
*arg1
= (wxListView
*) 0 ;
24007 wxWindow
*arg2
= (wxWindow
*) 0 ;
24008 int arg3
= (int) -1 ;
24009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24013 long arg6
= (long) wxLC_REPORT
;
24014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24016 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24021 bool temp8
= False
;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 PyObject
* obj2
= 0 ;
24025 PyObject
* obj3
= 0 ;
24026 PyObject
* obj4
= 0 ;
24027 PyObject
* obj5
= 0 ;
24028 PyObject
* obj6
= 0 ;
24029 PyObject
* obj7
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 arg3
= (int)SWIG_As_int(obj2
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24056 arg6
= (long)SWIG_As_long(obj5
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24063 if (arg7
== NULL
) {
24064 PyErr_SetString(PyExc_TypeError
,"null reference");
24070 arg8
= wxString_in_helper(obj7
);
24071 if (arg8
== NULL
) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24099 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxListView
*arg1
= (wxListView
*) 0 ;
24103 bool arg3
= (bool) True
;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 PyObject
* obj2
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self",(char *) "n",(char *) "on", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 arg2
= (long)SWIG_As_long(obj1
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 arg3
= (bool)SWIG_As_bool(obj2
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->Select(arg2
,arg3
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxListView
*arg1
= (wxListView
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "index", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24147 arg2
= (long)SWIG_As_long(obj1
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 (arg1
)->Focus(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24163 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxListView
*arg1
= (wxListView
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_From_long((long)result
);
24189 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxListView
*arg1
= (wxListView
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "item", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 arg2
= (long)SWIG_As_long(obj1
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_From_long((long)result
);
24219 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxListView
*arg1
= (wxListView
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_From_long((long)result
);
24245 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxListView
*arg1
= (wxListView
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "index", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 arg2
= (long)SWIG_As_long(obj1
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (bool)(arg1
)->IsSelected(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24277 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxListView
*arg1
= (wxListView
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 PyObject
* obj2
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "col",(char *) "image", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 arg2
= (int)SWIG_As_int(obj1
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24294 arg3
= (int)SWIG_As_int(obj2
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetColumnImage(arg2
,arg3
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxListView
*arg1
= (wxListView
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "col", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 arg2
= (int)SWIG_As_int(obj1
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->ClearColumnImage(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24342 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24344 return Py_BuildValue((char *)"");
24346 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24347 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24352 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24357 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24359 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24366 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxTreeItemId
*result
;
24369 char *kwnames
[] = {
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (wxTreeItemId
*)new wxTreeItemId();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24388 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",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();
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 Py_INCREF(Py_None
); resultobj
= Py_None
;
24413 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24441 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24444 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "other", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24476 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "other", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24505 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24508 void *arg2
= (void *) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "m_pItem", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24518 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24519 if (arg1
) (arg1
)->m_pItem
= arg2
;
24521 Py_INCREF(Py_None
); resultobj
= Py_None
;
24528 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 result
= (void *) ((arg1
)->m_pItem
);
24542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24549 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24552 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24554 return Py_BuildValue((char *)"");
24556 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 PyObject
*arg1
= (PyObject
*) NULL
;
24559 wxPyTreeItemData
*result
;
24560 PyObject
* obj0
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "obj", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24583 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (PyObject
*)(arg1
)->GetData();
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
;
24609 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24612 PyObject
*arg2
= (PyObject
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "obj", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 (arg1
)->SetData(arg2
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 Py_INCREF(Py_None
); resultobj
= Py_None
;
24637 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24640 wxTreeItemId
*result
;
24641 PyObject
* obj0
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24653 result
= (wxTreeItemId
*) &_result_ref
;
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24666 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24669 wxTreeItemId
*arg2
= 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "id", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24682 if (arg2
== NULL
) {
24683 PyErr_SetString(PyExc_TypeError
,"null reference");
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 wxPyTreeItemData_Destroy(arg1
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 Py_INCREF(Py_None
); resultobj
= Py_None
;
24725 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24728 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24730 return Py_BuildValue((char *)"");
24732 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24735 int arg2
= (int) 0 ;
24736 wxTreeEvent
*result
;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "commandType",(char *) "id", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 arg2
= (int)SWIG_As_int(obj1
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24766 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24769 wxTreeItemId result
;
24770 PyObject
* obj0
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 wxTreeItemId
* resultptr
;
24787 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24796 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24799 wxTreeItemId
*arg2
= 0 ;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "item", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24812 if (arg2
== NULL
) {
24813 PyErr_SetString(PyExc_TypeError
,"null reference");
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24833 wxTreeItemId result
;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 wxTreeItemId
* resultptr
;
24851 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24860 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24863 wxTreeItemId
*arg2
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "item", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24876 if (arg2
== NULL
) {
24877 PyErr_SetString(PyExc_TypeError
,"null reference");
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24914 wxPoint
* resultptr
;
24915 resultptr
= new wxPoint((wxPoint
&) result
);
24916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24924 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24927 wxPoint
*arg2
= 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "pt", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24959 wxKeyEvent
*result
;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24972 result
= (wxKeyEvent
*) &_result_ref
;
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24985 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_From_int((int)result
);
25011 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25014 wxKeyEvent
*arg2
= 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "evt", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25027 if (arg2
== NULL
) {
25028 PyErr_SetString(PyExc_TypeError
,"null reference");
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 Py_INCREF(Py_None
); resultobj
= Py_None
;
25045 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25061 result
= (wxString
*) &_result_ref
;
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25080 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25083 wxString
*arg2
= 0 ;
25084 bool temp2
= False
;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "label", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 arg2
= wxString_in_helper(obj1
);
25096 if (arg2
== NULL
) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetLabel((wxString
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25149 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self",(char *) "editCancelled", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25162 arg2
= (bool)SWIG_As_bool(obj1
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 (arg1
)->SetEditCanceled(arg2
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 Py_INCREF(Py_None
); resultobj
= Py_None
;
25178 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
;
25180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25181 wxString
*arg2
= 0 ;
25182 bool temp2
= False
;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self",(char *) "toolTip", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 arg2
= wxString_in_helper(obj1
);
25194 if (arg2
== NULL
) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25219 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25222 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25224 return Py_BuildValue((char *)"");
25226 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxWindow
*arg1
= (wxWindow
*) 0 ;
25229 int arg2
= (int) -1 ;
25230 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25231 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25232 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25233 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25234 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25235 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25236 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25237 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25238 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25239 wxPyTreeCtrl
*result
;
25242 bool temp7
= False
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 PyObject
* obj3
= 0 ;
25247 PyObject
* obj4
= 0 ;
25248 PyObject
* obj5
= 0 ;
25249 PyObject
* obj6
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 arg2
= (int)SWIG_As_int(obj1
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25274 arg5
= (long)SWIG_As_long(obj4
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25281 if (arg6
== NULL
) {
25282 PyErr_SetString(PyExc_TypeError
,"null reference");
25288 arg7
= wxString_in_helper(obj6
);
25289 if (arg7
== NULL
) SWIG_fail
;
25294 if (!wxPyCheckForApp()) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25316 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25318 wxPyTreeCtrl
*result
;
25319 char *kwnames
[] = {
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25325 if (!wxPyCheckForApp()) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25339 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25342 wxWindow
*arg2
= (wxWindow
*) 0 ;
25343 int arg3
= (int) -1 ;
25344 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25345 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25346 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25347 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25348 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25349 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25350 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25351 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25352 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25356 bool temp8
= False
;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 PyObject
* obj3
= 0 ;
25361 PyObject
* obj4
= 0 ;
25362 PyObject
* obj5
= 0 ;
25363 PyObject
* obj6
= 0 ;
25364 PyObject
* obj7
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25375 arg3
= (int)SWIG_As_int(obj2
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25391 arg6
= (long)SWIG_As_long(obj5
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25398 if (arg7
== NULL
) {
25399 PyErr_SetString(PyExc_TypeError
,"null reference");
25405 arg8
= wxString_in_helper(obj7
);
25406 if (arg8
== NULL
) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25434 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25437 PyObject
*arg2
= (PyObject
*) 0 ;
25438 PyObject
*arg3
= (PyObject
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 PyObject
* obj2
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "self",(char *) "_class", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 Py_INCREF(Py_None
); resultobj
= Py_None
;
25465 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",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
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25491 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25494 unsigned int result
;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25517 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25520 unsigned int arg2
;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self",(char *) "indent", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SetIndent(arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 unsigned int result
;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25572 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25575 unsigned int arg2
;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "spacing", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25585 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 (arg1
)->SetSpacing(arg2
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 Py_INCREF(Py_None
); resultobj
= Py_None
;
25601 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25604 wxImageList
*result
;
25605 PyObject
* obj0
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= wxPyMake_wxObject(result
, 0);
25629 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25632 wxImageList
*result
;
25633 PyObject
* obj0
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= wxPyMake_wxObject(result
, 0);
25657 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25660 wxImageList
*arg2
= (wxImageList
*) 0 ;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self",(char *) "imageList", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 (arg1
)->SetImageList(arg2
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 Py_INCREF(Py_None
); resultobj
= Py_None
;
25686 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25689 wxImageList
*arg2
= (wxImageList
*) 0 ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "imageList", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 (arg1
)->SetStateImageList(arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25718 wxImageList
*arg2
= (wxImageList
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "imageList", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25729 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->AssignImageList(arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25747 wxImageList
*arg2
= (wxImageList
*) 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "imageList", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25758 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 (arg1
)->AssignStateImageList(arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 Py_INCREF(Py_None
); resultobj
= Py_None
;
25773 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25776 wxTreeItemId
*arg2
= 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25790 if (arg2
== NULL
) {
25791 PyErr_SetString(PyExc_TypeError
,"null reference");
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25814 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25817 wxTreeItemId
*arg2
= 0 ;
25818 int arg3
= (int) wxTreeItemIcon_Normal
;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 PyObject
* obj2
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "item",(char *) "which", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25833 if (arg2
== NULL
) {
25834 PyErr_SetString(PyExc_TypeError
,"null reference");
25838 arg3
= (int)SWIG_As_int(obj2
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_From_int((int)result
);
25855 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25858 wxTreeItemId
*arg2
= 0 ;
25859 wxPyTreeItemData
*result
;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "item", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25872 if (arg2
== NULL
) {
25873 PyErr_SetString(PyExc_TypeError
,"null reference");
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25890 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25893 wxTreeItemId
*arg2
= 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self",(char *) "item", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25907 if (arg2
== NULL
) {
25908 PyErr_SetString(PyExc_TypeError
,"null reference");
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= result
;
25925 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25928 wxTreeItemId
*arg2
= 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "item", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25942 if (arg2
== NULL
) {
25943 PyErr_SetString(PyExc_TypeError
,"null reference");
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 wxColour
* resultptr
;
25955 resultptr
= new wxColour((wxColour
&) result
);
25956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25964 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25967 wxTreeItemId
*arg2
= 0 ;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "item", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25981 if (arg2
== NULL
) {
25982 PyErr_SetString(PyExc_TypeError
,"null reference");
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25993 wxColour
* resultptr
;
25994 resultptr
= new wxColour((wxColour
&) result
);
25995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26003 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26006 wxTreeItemId
*arg2
= 0 ;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self",(char *) "item", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26020 if (arg2
== NULL
) {
26021 PyErr_SetString(PyExc_TypeError
,"null reference");
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 wxFont
* resultptr
;
26033 resultptr
= new wxFont((wxFont
&) result
);
26034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26042 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26045 wxTreeItemId
*arg2
= 0 ;
26046 wxString
*arg3
= 0 ;
26047 bool temp3
= False
;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 PyObject
* obj2
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "item",(char *) "text", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26061 if (arg2
== NULL
) {
26062 PyErr_SetString(PyExc_TypeError
,"null reference");
26066 arg3
= wxString_in_helper(obj2
);
26067 if (arg3
== NULL
) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26095 wxTreeItemId
*arg2
= 0 ;
26097 int arg4
= (int) wxTreeItemIcon_Normal
;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 PyObject
* obj2
= 0 ;
26101 PyObject
* obj3
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26112 if (arg2
== NULL
) {
26113 PyErr_SetString(PyExc_TypeError
,"null reference");
26116 arg3
= (int)SWIG_As_int(obj2
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 arg4
= (int)SWIG_As_int(obj3
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 Py_INCREF(Py_None
); resultobj
= Py_None
;
26136 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26139 wxTreeItemId
*arg2
= 0 ;
26140 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 PyObject
* obj2
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "item",(char *) "data", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26154 if (arg2
== NULL
) {
26155 PyErr_SetString(PyExc_TypeError
,"null reference");
26158 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 Py_INCREF(Py_None
); resultobj
= Py_None
;
26174 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26177 wxTreeItemId
*arg2
= 0 ;
26178 PyObject
*arg3
= (PyObject
*) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 PyObject
* obj2
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self",(char *) "item",(char *) "obj", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26192 if (arg2
== NULL
) {
26193 PyErr_SetString(PyExc_TypeError
,"null reference");
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 Py_INCREF(Py_None
); resultobj
= Py_None
;
26211 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 wxTreeItemId
*arg2
= 0 ;
26215 bool arg3
= (bool) True
;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 PyObject
* obj2
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "item",(char *) "has", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26229 if (arg2
== NULL
) {
26230 PyErr_SetString(PyExc_TypeError
,"null reference");
26234 arg3
= (bool)SWIG_As_bool(obj2
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 Py_INCREF(Py_None
); resultobj
= Py_None
;
26251 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26254 wxTreeItemId
*arg2
= 0 ;
26255 bool arg3
= (bool) True
;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 PyObject
* obj2
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "item",(char *) "bold", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26269 if (arg2
== NULL
) {
26270 PyErr_SetString(PyExc_TypeError
,"null reference");
26274 arg3
= (bool)SWIG_As_bool(obj2
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 Py_INCREF(Py_None
); resultobj
= Py_None
;
26291 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26294 wxTreeItemId
*arg2
= 0 ;
26295 bool arg3
= (bool) True
;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 PyObject
* obj2
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "item",(char *) "highlight", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26309 if (arg2
== NULL
) {
26310 PyErr_SetString(PyExc_TypeError
,"null reference");
26314 arg3
= (bool)SWIG_As_bool(obj2
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 Py_INCREF(Py_None
); resultobj
= Py_None
;
26331 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26334 wxTreeItemId
*arg2
= 0 ;
26335 wxColour
*arg3
= 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 PyObject
* obj2
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self",(char *) "item",(char *) "col", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26350 if (arg2
== NULL
) {
26351 PyErr_SetString(PyExc_TypeError
,"null reference");
26356 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26375 wxTreeItemId
*arg2
= 0 ;
26376 wxColour
*arg3
= 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "item",(char *) "col", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26391 if (arg2
== NULL
) {
26392 PyErr_SetString(PyExc_TypeError
,"null reference");
26397 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 Py_INCREF(Py_None
); resultobj
= Py_None
;
26413 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26416 wxTreeItemId
*arg2
= 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self",(char *) "item",(char *) "font", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26431 if (arg2
== NULL
) {
26432 PyErr_SetString(PyExc_TypeError
,"null reference");
26435 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26438 if (arg3
== NULL
) {
26439 PyErr_SetString(PyExc_TypeError
,"null reference");
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 Py_INCREF(Py_None
); resultobj
= Py_None
;
26456 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26459 wxTreeItemId
*arg2
= 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "item", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26473 if (arg2
== NULL
) {
26474 PyErr_SetString(PyExc_TypeError
,"null reference");
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26493 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26496 wxTreeItemId
*arg2
= 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "item", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26510 if (arg2
== NULL
) {
26511 PyErr_SetString(PyExc_TypeError
,"null reference");
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26530 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26533 wxTreeItemId
*arg2
= 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "item", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26547 if (arg2
== NULL
) {
26548 PyErr_SetString(PyExc_TypeError
,"null reference");
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26567 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26570 wxTreeItemId
*arg2
= 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "item", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26584 if (arg2
== NULL
) {
26585 PyErr_SetString(PyExc_TypeError
,"null reference");
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26604 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26607 wxTreeItemId
*arg2
= 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "item", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26621 if (arg2
== NULL
) {
26622 PyErr_SetString(PyExc_TypeError
,"null reference");
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26641 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26644 wxTreeItemId
*arg2
= 0 ;
26645 bool arg3
= (bool) True
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 PyObject
* obj2
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "item",(char *) "recursively", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26660 if (arg2
== NULL
) {
26661 PyErr_SetString(PyExc_TypeError
,"null reference");
26665 arg3
= (bool)SWIG_As_bool(obj2
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26682 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26685 wxTreeItemId result
;
26686 PyObject
* obj0
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26702 wxTreeItemId
* resultptr
;
26703 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26712 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26715 wxTreeItemId result
;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 wxTreeItemId
* resultptr
;
26733 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26742 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
;
26744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26761 resultobj
= result
;
26768 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26771 wxTreeItemId
*arg2
= 0 ;
26772 wxTreeItemId result
;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "item", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26785 if (arg2
== NULL
) {
26786 PyErr_SetString(PyExc_TypeError
,"null reference");
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 wxTreeItemId
* resultptr
;
26798 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26807 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26810 wxTreeItemId
*arg2
= 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self",(char *) "item", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26824 if (arg2
== NULL
) {
26825 PyErr_SetString(PyExc_TypeError
,"null reference");
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= result
;
26842 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26845 wxTreeItemId
*arg2
= 0 ;
26846 void *arg3
= (void *) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 PyObject
* obj2
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "item",(char *) "cookie", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26861 if (arg2
== NULL
) {
26862 PyErr_SetString(PyExc_TypeError
,"null reference");
26865 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= result
;
26880 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26883 wxTreeItemId
*arg2
= 0 ;
26884 wxTreeItemId result
;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "item", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26897 if (arg2
== NULL
) {
26898 PyErr_SetString(PyExc_TypeError
,"null reference");
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 wxTreeItemId
* resultptr
;
26910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26919 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26922 wxTreeItemId
*arg2
= 0 ;
26923 wxTreeItemId result
;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "item", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26936 if (arg2
== NULL
) {
26937 PyErr_SetString(PyExc_TypeError
,"null reference");
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 wxTreeItemId
* resultptr
;
26949 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26958 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26961 wxTreeItemId
*arg2
= 0 ;
26962 wxTreeItemId result
;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self",(char *) "item", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26975 if (arg2
== NULL
) {
26976 PyErr_SetString(PyExc_TypeError
,"null reference");
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26987 wxTreeItemId
* resultptr
;
26988 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26997 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27000 wxTreeItemId result
;
27001 PyObject
* obj0
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 wxTreeItemId
* resultptr
;
27018 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27027 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27030 wxTreeItemId
*arg2
= 0 ;
27031 wxTreeItemId result
;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "item", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27044 if (arg2
== NULL
) {
27045 PyErr_SetString(PyExc_TypeError
,"null reference");
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 wxTreeItemId
* resultptr
;
27057 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27066 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27069 wxTreeItemId
*arg2
= 0 ;
27070 wxTreeItemId result
;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self",(char *) "item", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27083 if (arg2
== NULL
) {
27084 PyErr_SetString(PyExc_TypeError
,"null reference");
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 wxTreeItemId
* resultptr
;
27096 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27105 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27108 wxString
*arg2
= 0 ;
27109 int arg3
= (int) -1 ;
27110 int arg4
= (int) -1 ;
27111 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27112 wxTreeItemId result
;
27113 bool temp2
= False
;
27114 PyObject
* obj0
= 0 ;
27115 PyObject
* obj1
= 0 ;
27116 PyObject
* obj2
= 0 ;
27117 PyObject
* obj3
= 0 ;
27118 PyObject
* obj4
= 0 ;
27119 char *kwnames
[] = {
27120 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 arg2
= wxString_in_helper(obj1
);
27128 if (arg2
== NULL
) SWIG_fail
;
27132 arg3
= (int)SWIG_As_int(obj2
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 arg4
= (int)SWIG_As_int(obj3
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27151 wxTreeItemId
* resultptr
;
27152 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27169 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27172 wxTreeItemId
*arg2
= 0 ;
27173 wxString
*arg3
= 0 ;
27174 int arg4
= (int) -1 ;
27175 int arg5
= (int) -1 ;
27176 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27177 wxTreeItemId result
;
27178 bool temp3
= False
;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 PyObject
* obj2
= 0 ;
27182 PyObject
* obj3
= 0 ;
27183 PyObject
* obj4
= 0 ;
27184 PyObject
* obj5
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27195 if (arg2
== NULL
) {
27196 PyErr_SetString(PyExc_TypeError
,"null reference");
27200 arg3
= wxString_in_helper(obj2
);
27201 if (arg3
== NULL
) SWIG_fail
;
27205 arg4
= (int)SWIG_As_int(obj3
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 arg5
= (int)SWIG_As_int(obj4
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27224 wxTreeItemId
* resultptr
;
27225 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27242 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27245 wxTreeItemId
*arg2
= 0 ;
27246 wxTreeItemId
*arg3
= 0 ;
27247 wxString
*arg4
= 0 ;
27248 int arg5
= (int) -1 ;
27249 int arg6
= (int) -1 ;
27250 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27251 wxTreeItemId result
;
27252 bool temp4
= False
;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 PyObject
* obj3
= 0 ;
27257 PyObject
* obj4
= 0 ;
27258 PyObject
* obj5
= 0 ;
27259 PyObject
* obj6
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27270 if (arg2
== NULL
) {
27271 PyErr_SetString(PyExc_TypeError
,"null reference");
27274 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27277 if (arg3
== NULL
) {
27278 PyErr_SetString(PyExc_TypeError
,"null reference");
27282 arg4
= wxString_in_helper(obj3
);
27283 if (arg4
== NULL
) SWIG_fail
;
27287 arg5
= (int)SWIG_As_int(obj4
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27291 arg6
= (int)SWIG_As_int(obj5
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27306 wxTreeItemId
* resultptr
;
27307 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27324 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27327 wxTreeItemId
*arg2
= 0 ;
27329 wxString
*arg4
= 0 ;
27330 int arg5
= (int) -1 ;
27331 int arg6
= (int) -1 ;
27332 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27333 wxTreeItemId result
;
27334 bool temp4
= False
;
27335 PyObject
* obj0
= 0 ;
27336 PyObject
* obj1
= 0 ;
27337 PyObject
* obj2
= 0 ;
27338 PyObject
* obj3
= 0 ;
27339 PyObject
* obj4
= 0 ;
27340 PyObject
* obj5
= 0 ;
27341 PyObject
* obj6
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27352 if (arg2
== NULL
) {
27353 PyErr_SetString(PyExc_TypeError
,"null reference");
27356 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 arg4
= wxString_in_helper(obj3
);
27360 if (arg4
== NULL
) SWIG_fail
;
27364 arg5
= (int)SWIG_As_int(obj4
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27368 arg6
= (int)SWIG_As_int(obj5
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 wxTreeItemId
* resultptr
;
27384 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27401 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27404 wxTreeItemId
*arg2
= 0 ;
27405 wxString
*arg3
= 0 ;
27406 int arg4
= (int) -1 ;
27407 int arg5
= (int) -1 ;
27408 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27409 wxTreeItemId result
;
27410 bool temp3
= False
;
27411 PyObject
* obj0
= 0 ;
27412 PyObject
* obj1
= 0 ;
27413 PyObject
* obj2
= 0 ;
27414 PyObject
* obj3
= 0 ;
27415 PyObject
* obj4
= 0 ;
27416 PyObject
* obj5
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27427 if (arg2
== NULL
) {
27428 PyErr_SetString(PyExc_TypeError
,"null reference");
27432 arg3
= wxString_in_helper(obj2
);
27433 if (arg3
== NULL
) SWIG_fail
;
27437 arg4
= (int)SWIG_As_int(obj3
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27441 arg5
= (int)SWIG_As_int(obj4
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27445 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27456 wxTreeItemId
* resultptr
;
27457 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27474 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27477 wxTreeItemId
*arg2
= 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "item", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27490 if (arg2
== NULL
) {
27491 PyErr_SetString(PyExc_TypeError
,"null reference");
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27511 wxTreeItemId
*arg2
= 0 ;
27512 PyObject
* obj0
= 0 ;
27513 PyObject
* obj1
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self",(char *) "item", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27524 if (arg2
== NULL
) {
27525 PyErr_SetString(PyExc_TypeError
,"null reference");
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 Py_INCREF(Py_None
); resultobj
= Py_None
;
27542 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->DeleteAllItems();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27570 wxTreeItemId
*arg2
= 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "item", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27583 if (arg2
== NULL
) {
27584 PyErr_SetString(PyExc_TypeError
,"null reference");
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27604 wxTreeItemId
*arg2
= 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "item", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27617 if (arg2
== NULL
) {
27618 PyErr_SetString(PyExc_TypeError
,"null reference");
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 Py_INCREF(Py_None
); resultobj
= Py_None
;
27635 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27638 wxTreeItemId
*arg2
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "item", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27651 if (arg2
== NULL
) {
27652 PyErr_SetString(PyExc_TypeError
,"null reference");
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27672 wxTreeItemId
*arg2
= 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "item", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27685 if (arg2
== NULL
) {
27686 PyErr_SetString(PyExc_TypeError
,"null reference");
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27706 PyObject
* obj0
= 0 ;
27707 char *kwnames
[] = {
27708 (char *) "self", NULL
27711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 (arg1
)->Unselect();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 Py_INCREF(Py_None
); resultobj
= Py_None
;
27728 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27731 wxTreeItemId
*arg2
= 0 ;
27732 PyObject
* obj0
= 0 ;
27733 PyObject
* obj1
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "item", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27744 if (arg2
== NULL
) {
27745 PyErr_SetString(PyExc_TypeError
,"null reference");
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 (arg1
)->UnselectAll();
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 Py_INCREF(Py_None
); resultobj
= Py_None
;
27787 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27790 wxTreeItemId
*arg2
= 0 ;
27791 bool arg3
= (bool) True
;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 PyObject
* obj2
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self",(char *) "item",(char *) "select", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27805 if (arg2
== NULL
) {
27806 PyErr_SetString(PyExc_TypeError
,"null reference");
27810 arg3
= (bool)SWIG_As_bool(obj2
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 Py_INCREF(Py_None
); resultobj
= Py_None
;
27827 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27830 wxTreeItemId
*arg2
= 0 ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self",(char *) "item", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27843 if (arg2
== NULL
) {
27844 PyErr_SetString(PyExc_TypeError
,"null reference");
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 Py_INCREF(Py_None
); resultobj
= Py_None
;
27861 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27864 wxTreeItemId
*arg2
= 0 ;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "self",(char *) "item", NULL
27871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27877 if (arg2
== NULL
) {
27878 PyErr_SetString(PyExc_TypeError
,"null reference");
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 Py_INCREF(Py_None
); resultobj
= Py_None
;
27895 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27898 wxTreeItemId
*arg2
= 0 ;
27899 PyObject
* obj0
= 0 ;
27900 PyObject
* obj1
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "self",(char *) "item", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27911 if (arg2
== NULL
) {
27912 PyErr_SetString(PyExc_TypeError
,"null reference");
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 Py_INCREF(Py_None
); resultobj
= Py_None
;
27929 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27932 wxTreeItemId
*arg2
= 0 ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "item", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27945 if (arg2
== NULL
) {
27946 PyErr_SetString(PyExc_TypeError
,"null reference");
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27966 wxTextCtrl
*result
;
27967 PyObject
* obj0
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= wxPyMake_wxObject(result
, 0);
27991 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
;
27993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27994 wxTreeItemId
*arg2
= 0 ;
27995 bool arg3
= (bool) False
;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 PyObject
* obj2
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28009 if (arg2
== NULL
) {
28010 PyErr_SetString(PyExc_TypeError
,"null reference");
28014 arg3
= (bool)SWIG_As_bool(obj2
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 Py_INCREF(Py_None
); resultobj
= Py_None
;
28031 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28034 wxTreeItemId
*arg2
= 0 ;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "item", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28047 if (arg2
== NULL
) {
28048 PyErr_SetString(PyExc_TypeError
,"null reference");
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 Py_INCREF(Py_None
); resultobj
= Py_None
;
28065 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28068 wxPoint
*arg2
= 0 ;
28070 wxTreeItemId result
;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self",(char *) "point", NULL
28080 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28096 wxTreeItemId
* resultptr
;
28097 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28100 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28101 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28108 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28111 wxTreeItemId
*arg2
= 0 ;
28112 bool arg3
= (bool) False
;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 PyObject
* obj2
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28127 if (arg2
== NULL
) {
28128 PyErr_SetString(PyExc_TypeError
,"null reference");
28132 arg3
= (bool)SWIG_As_bool(obj2
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= result
;
28149 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28152 wxTreeItemId
*arg2
= 0 ;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 PyObject
* obj2
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self",(char *) "node",(char *) "state", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28167 if (arg2
== NULL
) {
28168 PyErr_SetString(PyExc_TypeError
,"null reference");
28171 arg3
= (int)SWIG_As_int(obj2
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28190 wxTreeItemId
*arg2
= 0 ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 char *kwnames
[] = {
28195 (char *) "self",(char *) "node", NULL
28198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28204 if (arg2
== NULL
) {
28205 PyErr_SetString(PyExc_TypeError
,"null reference");
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_From_int((int)result
);
28222 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28225 wxVisualAttributes result
;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "variant", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28233 arg1
= (int)SWIG_As_int(obj0
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28237 if (!wxPyCheckForApp()) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28245 wxVisualAttributes
* resultptr
;
28246 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28255 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28258 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28260 return Py_BuildValue((char *)"");
28262 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28263 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28268 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28273 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28275 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28282 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28284 wxWindow
*arg1
= (wxWindow
*) 0 ;
28285 int arg2
= (int) (int)-1 ;
28286 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28292 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28293 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28295 int arg8
= (int) 0 ;
28296 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28297 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28298 wxGenericDirCtrl
*result
;
28299 bool temp3
= False
;
28302 bool temp7
= False
;
28303 bool temp9
= False
;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 PyObject
* obj2
= 0 ;
28307 PyObject
* obj3
= 0 ;
28308 PyObject
* obj4
= 0 ;
28309 PyObject
* obj5
= 0 ;
28310 PyObject
* obj6
= 0 ;
28311 PyObject
* obj7
= 0 ;
28312 PyObject
* obj8
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28321 arg2
= (int)SWIG_As_int(obj1
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28326 arg3
= wxString_in_helper(obj2
);
28327 if (arg3
== NULL
) SWIG_fail
;
28334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28344 arg6
= (long)SWIG_As_long(obj5
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28349 arg7
= wxString_in_helper(obj6
);
28350 if (arg7
== NULL
) SWIG_fail
;
28355 arg8
= (int)SWIG_As_int(obj7
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28360 arg9
= wxString_in_helper(obj8
);
28361 if (arg9
== NULL
) SWIG_fail
;
28366 if (!wxPyCheckForApp()) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28404 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxGenericDirCtrl
*result
;
28407 char *kwnames
[] = {
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28413 if (!wxPyCheckForApp()) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28427 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28430 wxWindow
*arg2
= (wxWindow
*) 0 ;
28431 int arg3
= (int) (int)-1 ;
28432 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28433 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28434 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28435 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28436 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28437 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28438 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28439 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28440 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28441 int arg9
= (int) 0 ;
28442 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28443 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28445 bool temp4
= False
;
28448 bool temp8
= False
;
28449 bool temp10
= False
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 PyObject
* obj3
= 0 ;
28454 PyObject
* obj4
= 0 ;
28455 PyObject
* obj5
= 0 ;
28456 PyObject
* obj6
= 0 ;
28457 PyObject
* obj7
= 0 ;
28458 PyObject
* obj8
= 0 ;
28459 PyObject
* obj9
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28470 arg3
= (int)SWIG_As_int(obj2
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28475 arg4
= wxString_in_helper(obj3
);
28476 if (arg4
== NULL
) SWIG_fail
;
28483 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28489 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28493 arg7
= (long)SWIG_As_long(obj6
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28498 arg8
= wxString_in_helper(obj7
);
28499 if (arg8
== NULL
) SWIG_fail
;
28504 arg9
= (int)SWIG_As_int(obj8
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28509 arg10
= wxString_in_helper(obj9
);
28510 if (arg10
== NULL
) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28554 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28557 wxString
*arg2
= 0 ;
28559 bool temp2
= False
;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self",(char *) "path", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 arg2
= wxString_in_helper(obj1
);
28571 if (arg2
== NULL
) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28598 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
;
28600 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28602 PyObject
* obj0
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28630 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28633 wxString
*arg2
= 0 ;
28634 bool temp2
= False
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "path", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 arg2
= wxString_in_helper(obj1
);
28646 if (arg2
== NULL
) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28671 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28703 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28735 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
;
28737 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28738 wxString
*arg2
= 0 ;
28739 bool temp2
= False
;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "path", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28750 arg2
= wxString_in_helper(obj1
);
28751 if (arg2
== NULL
) SWIG_fail
;
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 (arg1
)->SetPath((wxString
const &)*arg2
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 Py_INCREF(Py_None
); resultobj
= Py_None
;
28776 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char *kwnames
[] = {
28783 (char *) "self",(char *) "show", NULL
28786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28789 arg2
= (bool)SWIG_As_bool(obj1
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 (arg1
)->ShowHidden(arg2
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 Py_INCREF(Py_None
); resultobj
= Py_None
;
28805 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
;
28807 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28809 PyObject
* obj0
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (bool)(arg1
)->GetShowHidden();
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28833 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28865 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28868 wxString
*arg2
= 0 ;
28869 bool temp2
= False
;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self",(char *) "filter", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28880 arg2
= wxString_in_helper(obj1
);
28881 if (arg2
== NULL
) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 (arg1
)->SetFilter((wxString
const &)*arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28906 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_From_int((int)result
);
28932 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "n", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28945 arg2
= (int)SWIG_As_int(obj1
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->SetFilterIndex(arg2
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 Py_INCREF(Py_None
); resultobj
= Py_None
;
28961 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28964 wxTreeItemId result
;
28965 PyObject
* obj0
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (arg1
)->GetRootId();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28981 wxTreeItemId
* resultptr
;
28982 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28991 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28994 wxPyTreeCtrl
*result
;
28995 PyObject
* obj0
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= wxPyMake_wxObject(result
, 0);
29019 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29022 wxDirFilterListCtrl
*result
;
29023 PyObject
* obj0
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29045 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29048 wxTreeItemId arg2
;
29049 wxString
*arg3
= 0 ;
29051 wxTreeItemId result
;
29052 wxTreeItemId
*argp2
;
29053 bool temp3
= False
;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 PyObject
* obj2
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "parentId",(char *) "path", NULL
29063 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29067 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29068 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29071 arg3
= wxString_in_helper(obj2
);
29072 if (arg3
== NULL
) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29083 wxTreeItemId
* resultptr
;
29084 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29087 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29088 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29103 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 char *kwnames
[] = {
29108 (char *) "self", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 (arg1
)->DoResize();
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 Py_INCREF(Py_None
); resultobj
= Py_None
;
29128 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29131 PyObject
* obj0
= 0 ;
29132 char *kwnames
[] = {
29133 (char *) "self", NULL
29136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->ReCreateTree();
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 Py_INCREF(Py_None
); resultobj
= Py_None
;
29153 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29156 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29158 return Py_BuildValue((char *)"");
29160 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29163 int arg2
= (int) (int)-1 ;
29164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29168 long arg5
= (long) 0 ;
29169 wxDirFilterListCtrl
*result
;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 PyObject
* obj2
= 0 ;
29175 PyObject
* obj3
= 0 ;
29176 PyObject
* obj4
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 arg2
= (int)SWIG_As_int(obj1
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29201 arg5
= (long)SWIG_As_long(obj4
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 if (!wxPyCheckForApp()) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29219 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
;
29221 wxDirFilterListCtrl
*result
;
29222 char *kwnames
[] = {
29226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29228 if (!wxPyCheckForApp()) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29242 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29245 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29246 int arg3
= (int) (int)-1 ;
29247 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29248 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29249 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29250 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29251 long arg6
= (long) 0 ;
29255 PyObject
* obj0
= 0 ;
29256 PyObject
* obj1
= 0 ;
29257 PyObject
* obj2
= 0 ;
29258 PyObject
* obj3
= 0 ;
29259 PyObject
* obj4
= 0 ;
29260 PyObject
* obj5
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29271 arg3
= (int)SWIG_As_int(obj2
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29287 arg6
= (long)SWIG_As_long(obj5
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29306 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
;
29308 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29309 wxString
*arg2
= 0 ;
29311 bool temp2
= False
;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 PyObject
* obj2
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29323 arg2
= wxString_in_helper(obj1
);
29324 if (arg2
== NULL
) SWIG_fail
;
29327 arg3
= (int)SWIG_As_int(obj2
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29331 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29354 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29356 return Py_BuildValue((char *)"");
29358 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxWindow
*arg1
= (wxWindow
*) 0 ;
29361 int arg2
= (int) (int)-1 ;
29362 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29363 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29364 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29365 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29366 long arg5
= (long) 0 ;
29367 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29368 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29369 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29371 wxPyControl
*result
;
29374 bool temp7
= False
;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 PyObject
* obj2
= 0 ;
29378 PyObject
* obj3
= 0 ;
29379 PyObject
* obj4
= 0 ;
29380 PyObject
* obj5
= 0 ;
29381 PyObject
* obj6
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29390 arg2
= (int)SWIG_As_int(obj1
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29402 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29406 arg5
= (long)SWIG_As_long(obj4
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29410 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29413 if (arg6
== NULL
) {
29414 PyErr_SetString(PyExc_TypeError
,"null reference");
29420 arg7
= wxString_in_helper(obj6
);
29421 if (arg7
== NULL
) SWIG_fail
;
29426 if (!wxPyCheckForApp()) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29448 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxPyControl
*result
;
29451 char *kwnames
[] = {
29455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29457 if (!wxPyCheckForApp()) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 result
= (wxPyControl
*)new wxPyControl();
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29471 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29474 PyObject
*arg2
= (PyObject
*) 0 ;
29475 PyObject
*arg3
= (PyObject
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 PyObject
* obj2
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self",(char *) "self",(char *) "_class", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 Py_INCREF(Py_None
); resultobj
= Py_None
;
29502 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
;
29504 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29507 PyObject
* obj0
= 0 ;
29508 PyObject
* obj1
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self",(char *) "size", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 Py_INCREF(Py_None
); resultobj
= Py_None
;
29534 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 PyObject
* obj3
= 0 ;
29545 PyObject
* obj4
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29553 arg2
= (int)SWIG_As_int(obj1
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29555 arg3
= (int)SWIG_As_int(obj2
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29557 arg4
= (int)SWIG_As_int(obj3
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29559 arg5
= (int)SWIG_As_int(obj4
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 Py_INCREF(Py_None
); resultobj
= Py_None
;
29575 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29582 int arg6
= (int) wxSIZE_AUTO
;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 PyObject
* obj3
= 0 ;
29587 PyObject
* obj4
= 0 ;
29588 PyObject
* obj5
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29596 arg2
= (int)SWIG_As_int(obj1
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29598 arg3
= (int)SWIG_As_int(obj2
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29600 arg4
= (int)SWIG_As_int(obj3
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29602 arg5
= (int)SWIG_As_int(obj4
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 arg6
= (int)SWIG_As_int(obj5
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 Py_INCREF(Py_None
); resultobj
= Py_None
;
29622 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "width",(char *) "height", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29637 arg2
= (int)SWIG_As_int(obj1
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29639 arg3
= (int)SWIG_As_int(obj2
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 Py_INCREF(Py_None
); resultobj
= Py_None
;
29655 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
;
29657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29660 PyObject
* obj0
= 0 ;
29661 PyObject
* obj1
= 0 ;
29662 PyObject
* obj2
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self",(char *) "x",(char *) "y", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29670 arg2
= (int)SWIG_As_int(obj1
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29672 arg3
= (int)SWIG_As_int(obj2
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29688 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29691 int *arg2
= (int *) 0 ;
29692 int *arg3
= (int *) 0 ;
29697 PyObject
* obj0
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self", NULL
29702 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29703 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 Py_INCREF(Py_None
); resultobj
= Py_None
;
29715 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29716 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29717 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29718 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29725 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29728 int *arg2
= (int *) 0 ;
29729 int *arg3
= (int *) 0 ;
29734 PyObject
* obj0
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self", NULL
29739 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29740 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29752 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29753 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29754 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29755 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29762 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29765 int *arg2
= (int *) 0 ;
29766 int *arg3
= (int *) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self", NULL
29776 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29777 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29788 Py_INCREF(Py_None
); resultobj
= Py_None
;
29789 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29790 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29791 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29792 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29799 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29803 PyObject
* obj0
= 0 ;
29804 char *kwnames
[] = {
29805 (char *) "self", NULL
29808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29819 wxSize
* resultptr
;
29820 resultptr
= new wxSize((wxSize
&) result
);
29821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29829 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29833 PyObject
* obj0
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 wxSize
* resultptr
;
29850 resultptr
= new wxSize((wxSize
&) result
);
29851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29859 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 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_InitDialog",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 (arg1
)->base_InitDialog();
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29877 Py_INCREF(Py_None
); resultobj
= Py_None
;
29884 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29888 PyObject
* obj0
= 0 ;
29889 char *kwnames
[] = {
29890 (char *) "self", NULL
29893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (bool)(arg1
)->base_TransferDataToWindow();
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29912 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29940 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
;
29942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (bool)(arg1
)->base_Validate();
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29968 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29972 PyObject
* obj0
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29996 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30024 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 wxSize
* resultptr
;
30045 resultptr
= new wxSize((wxSize
&) result
);
30046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30054 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30057 wxWindow
*arg2
= (wxWindow
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self",(char *) "child", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 (arg1
)->base_AddChild(arg2
);
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 Py_INCREF(Py_None
); resultobj
= Py_None
;
30083 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
;
30085 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30086 wxWindow
*arg2
= (wxWindow
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "child", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 (arg1
)->base_RemoveChild(arg2
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 Py_INCREF(Py_None
); resultobj
= Py_None
;
30112 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
;
30114 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30140 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30143 wxColour
*arg2
= 0 ;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self",(char *) "c", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 Py_INCREF(Py_None
); resultobj
= Py_None
;
30172 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
;
30174 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30175 wxVisualAttributes result
;
30176 PyObject
* obj0
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (arg1
)->base_GetDefaultAttributes();
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30192 wxVisualAttributes
* resultptr
;
30193 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30202 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30205 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30207 return Py_BuildValue((char *)"");
30209 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30212 int arg2
= (int) 0 ;
30213 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30214 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30215 wxHelpEvent
*result
;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "type",(char *) "winid",(char *) "pt", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30226 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30230 arg2
= (int)SWIG_As_int(obj1
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30253 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "self", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 wxPoint
* resultptr
;
30274 resultptr
= new wxPoint((wxPoint
&) result
);
30275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30283 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
;
30285 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30286 wxPoint
*arg2
= 0 ;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "self",(char *) "pos", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 Py_INCREF(Py_None
); resultobj
= Py_None
;
30315 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30331 result
= (wxString
*) &_result_ref
;
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30350 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30353 wxString
*arg2
= 0 ;
30354 bool temp2
= False
;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 char *kwnames
[] = {
30358 (char *) "self",(char *) "link", NULL
30361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30365 arg2
= wxString_in_helper(obj1
);
30366 if (arg2
== NULL
) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 (arg1
)->SetLink((wxString
const &)*arg2
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 Py_INCREF(Py_None
); resultobj
= Py_None
;
30391 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
;
30393 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30395 PyObject
* obj0
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30407 result
= (wxString
*) &_result_ref
;
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30417 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30426 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
;
30428 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30429 wxString
*arg2
= 0 ;
30430 bool temp2
= False
;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self",(char *) "target", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30441 arg2
= wxString_in_helper(obj1
);
30442 if (arg2
== NULL
) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 (arg1
)->SetTarget((wxString
const &)*arg2
);
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30452 Py_INCREF(Py_None
); resultobj
= Py_None
;
30467 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30470 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30472 return Py_BuildValue((char *)"");
30474 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
;
30476 wxWindow
*arg1
= (wxWindow
*) NULL
;
30477 bool arg2
= (bool) True
;
30478 wxContextHelp
*result
;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char *kwnames
[] = {
30482 (char *) "window",(char *) "doNow", NULL
30485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30491 arg2
= (bool)SWIG_As_bool(obj1
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30495 if (!wxPyCheckForApp()) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30509 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
;
30511 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30512 PyObject
* obj0
= 0 ;
30513 char *kwnames
[] = {
30514 (char *) "self", NULL
30517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 Py_INCREF(Py_None
); resultobj
= Py_None
;
30534 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
;
30536 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30537 wxWindow
*arg2
= (wxWindow
*) NULL
;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "self",(char *) "window", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30568 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
;
30570 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30572 PyObject
* obj0
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "self", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (bool)(arg1
)->EndContextHelp();
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30596 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30599 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30601 return Py_BuildValue((char *)"");
30603 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxWindow
*arg1
= (wxWindow
*) 0 ;
30606 int arg2
= (int) wxID_CONTEXT_HELP
;
30607 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30608 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30609 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30610 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30611 long arg5
= (long) wxBU_AUTODRAW
;
30612 wxContextHelpButton
*result
;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 PyObject
* obj2
= 0 ;
30618 PyObject
* obj3
= 0 ;
30619 PyObject
* obj4
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30628 arg2
= (int)SWIG_As_int(obj1
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30644 arg5
= (long)SWIG_As_long(obj4
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 if (!wxPyCheckForApp()) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30662 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30665 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30667 return Py_BuildValue((char *)"");
30669 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
;
30671 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30672 wxHelpProvider
*result
;
30673 PyObject
* obj0
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "helpProvider", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30695 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxHelpProvider
*result
;
30698 char *kwnames
[] = {
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30717 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30720 wxWindow
*arg2
= (wxWindow
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self",(char *) "window", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30753 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30756 wxWindow
*arg2
= (wxWindow
*) 0 ;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "self",(char *) "window", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (bool)(arg1
)->ShowHelp(arg2
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30785 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30788 wxWindow
*arg2
= (wxWindow
*) 0 ;
30789 wxString
*arg3
= 0 ;
30790 bool temp3
= False
;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 PyObject
* obj2
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self",(char *) "window",(char *) "text", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30804 arg3
= wxString_in_helper(obj2
);
30805 if (arg3
== NULL
) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 Py_INCREF(Py_None
); resultobj
= Py_None
;
30830 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30834 wxString
*arg3
= 0 ;
30835 bool temp3
= False
;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 PyObject
* obj2
= 0 ;
30839 char *kwnames
[] = {
30840 (char *) "self",(char *) "id",(char *) "text", NULL
30843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30846 arg2
= (int)SWIG_As_int(obj1
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30849 arg3
= wxString_in_helper(obj2
);
30850 if (arg3
== NULL
) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30878 wxWindow
*arg2
= (wxWindow
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 PyObject
* obj1
= 0 ;
30881 char *kwnames
[] = {
30882 (char *) "self",(char *) "window", NULL
30885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 (arg1
)->RemoveHelp(arg2
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 Py_INCREF(Py_None
); resultobj
= Py_None
;
30904 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30907 PyObject
* obj0
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 wxHelpProvider_Destroy(arg1
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 Py_INCREF(Py_None
); resultobj
= Py_None
;
30929 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30932 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30934 return Py_BuildValue((char *)"");
30936 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxSimpleHelpProvider
*result
;
30939 char *kwnames
[] = {
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30958 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30961 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30963 return Py_BuildValue((char *)"");
30965 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxBitmap
*arg1
= 0 ;
30968 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30969 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30970 wxGenericDragImage
*result
;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "image",(char *) "cursor", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30981 if (arg1
== NULL
) {
30982 PyErr_SetString(PyExc_TypeError
,"null reference");
30986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30989 if (arg2
== NULL
) {
30990 PyErr_SetString(PyExc_TypeError
,"null reference");
30995 if (!wxPyCheckForApp()) SWIG_fail
;
30996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30997 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31009 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31012 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31013 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31014 wxGenericDragImage
*result
;
31015 PyObject
* obj0
= 0 ;
31016 PyObject
* obj1
= 0 ;
31017 char *kwnames
[] = {
31018 (char *) "image",(char *) "cursor", NULL
31021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31025 if (arg1
== NULL
) {
31026 PyErr_SetString(PyExc_TypeError
,"null reference");
31030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31033 if (arg2
== NULL
) {
31034 PyErr_SetString(PyExc_TypeError
,"null reference");
31039 if (!wxPyCheckForApp()) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31053 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxString
*arg1
= 0 ;
31056 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31057 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31058 wxGenericDragImage
*result
;
31059 bool temp1
= False
;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "str",(char *) "cursor", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 arg1
= wxString_in_helper(obj0
);
31069 if (arg1
== NULL
) SWIG_fail
;
31073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31076 if (arg2
== NULL
) {
31077 PyErr_SetString(PyExc_TypeError
,"null reference");
31082 if (!wxPyCheckForApp()) SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31104 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
;
31106 wxPyTreeCtrl
*arg1
= 0 ;
31107 wxTreeItemId
*arg2
= 0 ;
31108 wxGenericDragImage
*result
;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "treeCtrl",(char *) "id", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31119 if (arg1
== NULL
) {
31120 PyErr_SetString(PyExc_TypeError
,"null reference");
31123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31126 if (arg2
== NULL
) {
31127 PyErr_SetString(PyExc_TypeError
,"null reference");
31131 if (!wxPyCheckForApp()) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31145 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxPyListCtrl
*arg1
= 0 ;
31149 wxGenericDragImage
*result
;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "listCtrl",(char *) "id", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31160 if (arg1
== NULL
) {
31161 PyErr_SetString(PyExc_TypeError
,"null reference");
31164 arg2
= (long)SWIG_As_long(obj1
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31167 if (!wxPyCheckForApp()) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31181 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31199 Py_INCREF(Py_None
); resultobj
= Py_None
;
31206 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31207 PyObject
*resultobj
;
31208 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31209 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self",(char *) "bitmap", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 (arg1
)->SetBackingBitmap(arg2
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31228 Py_INCREF(Py_None
); resultobj
= Py_None
;
31235 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31238 wxPoint
*arg2
= 0 ;
31239 wxWindow
*arg3
= (wxWindow
*) 0 ;
31240 bool arg4
= (bool) False
;
31241 wxRect
*arg5
= (wxRect
*) NULL
;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 PyObject
* obj2
= 0 ;
31247 PyObject
* obj3
= 0 ;
31248 PyObject
* obj4
= 0 ;
31249 char *kwnames
[] = {
31250 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31260 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31263 arg4
= (bool)SWIG_As_bool(obj3
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31286 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31289 wxPoint
*arg2
= 0 ;
31290 wxWindow
*arg3
= (wxWindow
*) 0 ;
31291 wxWindow
*arg4
= (wxWindow
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 PyObject
* obj2
= 0 ;
31297 PyObject
* obj3
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31309 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31311 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31315 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31317 wxPyEndAllowThreads(__tstate
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31329 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
;
31331 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 char *kwnames
[] = {
31335 (char *) "self", NULL
31338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (bool)(arg1
)->EndDrag();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31360 wxPoint
*arg2
= 0 ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self",(char *) "pt", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31392 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31393 PyObject
*resultobj
;
31394 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= (bool)(arg1
)->Show();
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31420 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
;
31422 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31424 PyObject
* obj0
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (bool)(arg1
)->Hide();
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31448 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
;
31450 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31451 wxPoint
*arg2
= 0 ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char *kwnames
[] = {
31457 (char *) "self",(char *) "pos", NULL
31460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31475 wxRect
* resultptr
;
31476 resultptr
= new wxRect((wxRect
&) result
);
31477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31485 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31489 wxPoint
*arg3
= 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self",(char *) "dc",(char *) "pos", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31505 if (arg2
== NULL
) {
31506 PyErr_SetString(PyExc_TypeError
,"null reference");
31511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31529 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
;
31531 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31533 wxMemoryDC
*arg3
= 0 ;
31539 PyObject
* obj0
= 0 ;
31540 PyObject
* obj1
= 0 ;
31541 PyObject
* obj2
= 0 ;
31542 PyObject
* obj3
= 0 ;
31543 PyObject
* obj4
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31554 if (arg2
== NULL
) {
31555 PyErr_SetString(PyExc_TypeError
,"null reference");
31558 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31561 if (arg3
== NULL
) {
31562 PyErr_SetString(PyExc_TypeError
,"null reference");
31567 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31571 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31589 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31592 wxPoint
*arg2
= 0 ;
31593 wxPoint
*arg3
= 0 ;
31599 PyObject
* obj0
= 0 ;
31600 PyObject
* obj1
= 0 ;
31601 PyObject
* obj2
= 0 ;
31602 PyObject
* obj3
= 0 ;
31603 PyObject
* obj4
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31617 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31619 arg4
= (bool)SWIG_As_bool(obj3
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31621 arg5
= (bool)SWIG_As_bool(obj4
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31639 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31642 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31644 return Py_BuildValue((char *)"");
31646 static PyMethodDef SwigMethods
[] = {
31647 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31654 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31681 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31729 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31736 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31741 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31772 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31875 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31887 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31900 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31934 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31941 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31975 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32033 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32063 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32114 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32126 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32178 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32205 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32277 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32289 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32297 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32304 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32320 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32399 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32421 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32426 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32452 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32460 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32465 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32467 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32476 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32478 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32496 { NULL
, NULL
, 0, NULL
}
32500 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32502 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32503 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32505 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32506 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32508 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32509 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32511 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32512 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32514 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32515 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32517 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32518 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32520 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32521 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32523 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32524 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32526 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32527 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32529 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32530 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32532 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32535 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32538 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32541 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32544 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32545 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32547 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32548 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32550 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32551 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32553 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32554 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32556 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32559 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32560 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32562 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32565 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32568 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32571 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32572 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32574 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32575 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32577 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32578 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32580 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32581 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32583 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32586 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32589 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32592 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32595 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32598 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32601 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32602 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32604 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32605 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32607 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32608 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32610 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32611 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32613 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32614 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32616 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32617 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32619 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32620 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32622 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32623 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32625 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32626 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32628 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32629 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32631 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32632 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32634 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32637 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32638 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32640 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32641 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32643 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32644 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32646 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32649 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32650 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32652 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32653 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32655 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32656 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32658 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32659 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32661 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32662 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32664 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32665 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32667 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32668 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32670 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32671 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32673 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32674 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32676 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32677 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32679 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32680 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32682 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32683 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32685 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32686 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32688 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32689 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32691 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32692 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32694 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32695 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32697 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32698 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32700 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32701 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32703 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32704 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32706 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32707 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32709 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32710 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32712 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32713 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32715 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32716 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32718 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32719 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32721 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32722 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32724 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32725 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32727 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32728 return (void *)((wxControl
*) ((wxGauge
*) x
));
32730 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32731 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32733 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32734 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32736 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32737 return (void *)((wxControl
*) ((wxButton
*) x
));
32739 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32740 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32742 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32743 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32745 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32746 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32748 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32749 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32751 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32752 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32754 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32755 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32757 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32758 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32760 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32761 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32763 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32764 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32766 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32767 return (void *)((wxControl
*) ((wxSlider
*) x
));
32769 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32770 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32772 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32773 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32775 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32776 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32778 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32779 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32781 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32782 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32784 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32785 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32787 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32788 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32790 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32791 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32793 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32794 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32796 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32797 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32799 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32800 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32802 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32803 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32805 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32806 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32808 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32811 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32812 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32814 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32815 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32817 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32818 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32820 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32823 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32824 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32826 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32829 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32832 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32833 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32835 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32836 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32838 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32841 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32844 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32847 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32850 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32853 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32854 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32856 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32859 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32862 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32865 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32868 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32871 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32874 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32877 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32880 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32883 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32886 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32889 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32892 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32895 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32898 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32901 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32904 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32907 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32910 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32913 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32916 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32919 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32922 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32925 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32928 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32929 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32931 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32932 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32934 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32935 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32937 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32938 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32940 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32941 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32943 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32944 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32946 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32947 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32949 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32952 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32955 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32958 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32961 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32964 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32967 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32970 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32973 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32976 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) ((wxSizer
*) x
));
32979 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32982 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32985 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32988 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32991 static void *_p_wxEventTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) ((wxEvent
*) x
));
32994 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32997 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33000 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33003 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33006 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33009 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33012 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33015 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33018 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33021 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33024 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33027 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33030 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33033 static void *_p_wxControlTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33036 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33039 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33042 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33045 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33048 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33051 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33054 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33057 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33060 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33063 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33066 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33069 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33072 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33075 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33078 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33081 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33084 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33087 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33090 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33093 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33096 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33099 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33102 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33105 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33108 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33111 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33114 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33117 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33120 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33123 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33126 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33129 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33132 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33135 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33138 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33141 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33144 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33147 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33150 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33153 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33156 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33159 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33162 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33165 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33168 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33171 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33174 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33177 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33180 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33183 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33186 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33189 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33192 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33195 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33198 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33201 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) ((wxListItem
*) x
));
33204 static void *_p_wxImageTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) ((wxImage
*) x
));
33207 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33210 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33213 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33216 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33219 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33222 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33225 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33228 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33231 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33234 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33237 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33240 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33243 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33246 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33249 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33252 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33255 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33258 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33261 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33264 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33267 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33270 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33273 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33276 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33279 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33282 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33285 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33288 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33291 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33294 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33297 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33300 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33303 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33306 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33309 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33312 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33313 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33315 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33316 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33318 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33319 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33321 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33322 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33324 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33325 return (void *)((wxWindow
*) ((wxControl
*) x
));
33327 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33328 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33330 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33331 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33333 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33334 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33336 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33337 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33339 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33340 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33342 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33343 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33345 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33346 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33348 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33349 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33351 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33352 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33354 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33355 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33357 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33358 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33360 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33361 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33363 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33364 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33366 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33367 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33369 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33370 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33372 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33373 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33375 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33378 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33381 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33384 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33385 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33387 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33388 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33390 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33391 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33393 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33394 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33396 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33399 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33402 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33405 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33406 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33408 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33411 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33412 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33414 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33415 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33417 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33418 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33420 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33421 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33423 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33424 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33426 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33427 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33429 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33430 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33432 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33433 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33435 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33436 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33438 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33439 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33441 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33442 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33444 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33445 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33447 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33448 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33450 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33451 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33453 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33454 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33456 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33457 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33459 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33460 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33462 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33463 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33465 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33466 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33468 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33469 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33471 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33472 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33474 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33475 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33477 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}};
33478 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}};
33479 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}};
33480 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}};
33481 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}};
33482 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}};
33483 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}};
33484 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}};
33485 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}};
33486 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}};
33487 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}};
33488 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}};
33489 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}};
33490 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}};
33491 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}};
33492 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}};
33493 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}};
33494 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}};
33495 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}};
33496 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}};
33497 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}};
33498 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}};
33499 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}};
33500 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}};
33501 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}};
33502 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}};
33503 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}};
33504 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}};
33505 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}};
33506 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}};
33507 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}};
33508 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}};
33509 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}};
33510 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}};
33511 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}};
33512 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}};
33513 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}};
33514 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}};
33515 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}};
33516 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}};
33517 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}};
33518 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}};
33519 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}};
33520 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}};
33521 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}};
33522 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}};
33523 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}};
33524 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}};
33525 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}};
33526 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}};
33527 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}};
33528 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}};
33529 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}};
33530 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}};
33531 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}};
33532 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}};
33533 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}};
33534 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}};
33535 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}};
33536 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}};
33537 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}};
33538 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}};
33539 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}};
33540 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}};
33541 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}};
33542 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}};
33543 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}};
33544 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}};
33545 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}};
33546 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}};
33547 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}};
33548 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}};
33549 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}};
33550 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}};
33551 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}};
33552 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}};
33553 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}};
33554 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}};
33555 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}};
33556 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}};
33557 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}};
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33563 static swig_type_info
*swig_types_initial
[] = {
33564 _swigt__p_wxTextUrlEvent
,
33565 _swigt__p_wxBookCtrlEvent
,
33567 _swigt__p_wxCheckBox
,
33568 _swigt__p_wxPyTreeCtrl
,
33570 _swigt__p_wxGenericDirCtrl
,
33572 _swigt__p_wxPyTreeItemData
,
33573 _swigt__p_wxItemContainer
,
33574 _swigt__p_wxPyListCtrl
,
33575 _swigt__p_wxDirFilterListCtrl
,
33576 _swigt__p_wxStaticLine
,
33577 _swigt__p_wxControl
,
33578 _swigt__p_wxPyControl
,
33580 _swigt__p_wxToolBarBase
,
33582 _swigt__p_wxToggleButton
,
33583 _swigt__p_wxRadioButton
,
33584 _swigt__p_wxChoice
,
33585 _swigt__p_wxMemoryDC
,
33586 _swigt__p_wxListItemAttr
,
33591 _swigt__p_wxListView
,
33593 _swigt__p_wxVisualAttributes
,
33594 _swigt__p_wxTextCtrl
,
33595 _swigt__p_wxNotebook
,
33596 _swigt__p_wxNotifyEvent
,
33597 _swigt__p_wxArrayString
,
33598 _swigt__p_wxListbook
,
33599 _swigt__p_wxStaticBitmap
,
33600 _swigt__p_wxSlider
,
33601 _swigt__p_wxStaticBox
,
33602 _swigt__p_wxArrayInt
,
33603 _swigt__p_wxContextHelp
,
33605 _swigt__p_wxEvtHandler
,
33606 _swigt__p_wxListEvent
,
33607 _swigt__p_wxCheckListBox
,
33608 _swigt__p_wxListBox
,
33609 _swigt__p_wxBookCtrl
,
33610 _swigt__p_wxSpinButton
,
33611 _swigt__p_wxButton
,
33612 _swigt__p_wxBitmapButton
,
33614 _swigt__p_wxContextHelpButton
,
33615 _swigt__p_wxRadioBox
,
33616 _swigt__p_wxScrollBar
,
33618 _swigt__p_wxTreeItemId
,
33619 _swigt__p_wxComboBox
,
33620 _swigt__p_wxHelpEvent
,
33621 _swigt__p_wxListItem
,
33622 _swigt__p_wxNotebookSizer
,
33623 _swigt__p_wxSpinEvent
,
33624 _swigt__p_wxGenericDragImage
,
33625 _swigt__p_wxSpinCtrl
,
33626 _swigt__p_wxImageList
,
33627 _swigt__p_wxHelpProvider
,
33628 _swigt__p_wxTextAttr
,
33629 _swigt__p_wxSimpleHelpProvider
,
33631 _swigt__p_wxListbookEvent
,
33632 _swigt__p_wxNotebookEvent
,
33633 _swigt__p_wxObject
,
33634 _swigt__p_wxCursor
,
33635 _swigt__p_wxKeyEvent
,
33636 _swigt__p_wxWindow
,
33637 _swigt__p_wxString
,
33638 _swigt__p_wxBitmap
,
33639 _swigt__p_wxTreeEvent
,
33640 _swigt__p_wxMouseEvent
,
33641 _swigt__p_wxCommandEvent
,
33642 _swigt__p_wxStaticText
,
33643 _swigt__p_wxControlWithItems
,
33644 _swigt__p_wxToolBarToolBase
,
33645 _swigt__p_wxColour
,
33646 _swigt__p_wxToolBar
,
33647 _swigt__p_wxBookCtrlSizer
,
33648 _swigt__p_wxValidator
,
33653 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33655 static swig_const_info swig_const_table
[] = {
33656 {0, 0, 0, 0.0, 0, 0}};
33665 SWIGEXPORT(void) SWIG_init(void) {
33666 static PyObject
*SWIG_globals
= 0;
33667 static int typeinit
= 0;
33670 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33671 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33672 d
= PyModule_GetDict(m
);
33675 for (i
= 0; swig_types_initial
[i
]; i
++) {
33676 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33680 SWIG_InstallConstants(d
,swig_const_table
);
33682 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33683 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33684 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33685 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33686 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33687 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33688 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33689 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33690 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33691 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33692 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33693 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33694 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33695 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33696 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33697 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33698 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33699 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33700 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33701 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33702 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33703 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33704 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33705 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33706 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33707 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33708 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33709 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33710 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33711 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33712 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33713 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33714 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33715 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33716 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33717 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33718 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33719 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33720 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33721 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33722 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33723 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33724 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33725 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33726 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33727 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33728 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33729 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33730 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33731 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33732 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33733 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33734 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33735 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33736 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33737 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33738 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33739 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33740 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33741 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33742 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33743 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33744 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33745 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33746 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33747 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33748 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33749 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33754 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33755 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33756 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33757 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33758 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33759 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33760 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33761 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33762 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33763 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33764 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33765 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33767 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33768 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33769 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33770 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33771 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33772 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33773 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33774 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33775 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33776 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33777 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33778 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33779 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33780 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33781 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33782 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33783 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33784 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33785 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33786 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33787 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33788 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33789 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33790 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33791 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33792 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33793 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33794 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33795 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33796 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33797 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33798 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33799 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33800 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33801 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33802 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33803 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33804 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33805 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33806 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33807 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33808 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33809 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33810 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33811 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33812 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33813 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33814 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33815 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33816 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33817 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33818 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33819 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33820 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33821 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33822 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33823 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33824 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33825 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33826 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33827 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33828 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33829 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33830 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33831 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33832 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33833 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33834 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33835 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33836 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33837 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33838 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33839 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33840 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33841 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33842 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33843 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33844 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33845 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33846 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33847 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33848 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33849 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33850 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33851 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33852 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33853 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33854 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33855 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33856 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33857 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33858 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33859 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33860 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33861 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33862 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33863 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33864 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33865 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33866 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33867 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33868 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33869 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33870 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33889 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33890 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33894 // Map renamed classes back to their common name for OOR
33895 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33897 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33898 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33899 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33900 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33901 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33902 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33903 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33904 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33905 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33906 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33907 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33908 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33909 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33910 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33911 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33912 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33913 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33914 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33915 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33916 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33917 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33918 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33919 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33920 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33921 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33922 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33923 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33924 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33925 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33926 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33927 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33928 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33929 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33930 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33931 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33932 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33954 // Map renamed classes back to their common name for OOR
33955 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33956 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33958 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33959 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33960 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33961 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33962 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33963 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33964 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33965 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33966 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33967 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33969 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");