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_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
385 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
386 #define SWIGTYPE_p_wxSizer swig_types[2]
387 #define SWIGTYPE_p_wxCheckBox swig_types[3]
388 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
389 #define SWIGTYPE_p_wxEvent swig_types[5]
390 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
391 #define SWIGTYPE_p_bool swig_types[7]
392 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
393 #define SWIGTYPE_p_wxItemContainer swig_types[9]
394 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
395 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
396 #define SWIGTYPE_p_wxStaticLine swig_types[12]
397 #define SWIGTYPE_p_wxControl swig_types[13]
398 #define SWIGTYPE_p_wxPyControl swig_types[14]
399 #define SWIGTYPE_p_wxGauge swig_types[15]
400 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
401 #define SWIGTYPE_p_wxFont swig_types[17]
402 #define SWIGTYPE_p_wxToggleButton swig_types[18]
403 #define SWIGTYPE_p_wxRadioButton swig_types[19]
404 #define SWIGTYPE_p_wxChoice swig_types[20]
405 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
406 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
407 #define SWIGTYPE_p_void swig_types[23]
408 #define SWIGTYPE_p_int swig_types[24]
409 #define SWIGTYPE_p_wxSize swig_types[25]
410 #define SWIGTYPE_p_wxDC swig_types[26]
411 #define SWIGTYPE_p_wxListView swig_types[27]
412 #define SWIGTYPE_p_wxIcon swig_types[28]
413 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
414 #define SWIGTYPE_p_wxNotebook swig_types[30]
415 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
416 #define SWIGTYPE_p_wxArrayString swig_types[32]
417 #define SWIGTYPE_p_wxListbook swig_types[33]
418 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
419 #define SWIGTYPE_p_wxSlider swig_types[35]
420 #define SWIGTYPE_p_wxStaticBox swig_types[36]
421 #define SWIGTYPE_p_wxArrayInt swig_types[37]
422 #define SWIGTYPE_p_wxContextHelp swig_types[38]
423 #define SWIGTYPE_p_long swig_types[39]
424 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
425 #define SWIGTYPE_p_wxListEvent swig_types[41]
426 #define SWIGTYPE_p_wxListBox swig_types[42]
427 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
428 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
429 #define SWIGTYPE_p_wxSpinButton swig_types[45]
430 #define SWIGTYPE_p_wxButton swig_types[46]
431 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
432 #define SWIGTYPE_p_wxRect swig_types[48]
433 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
434 #define SWIGTYPE_p_wxRadioBox swig_types[50]
435 #define SWIGTYPE_p_wxScrollBar swig_types[51]
436 #define SWIGTYPE_p_wxTreeItemId swig_types[52]
437 #define SWIGTYPE_p_wxComboBox swig_types[53]
438 #define SWIGTYPE_p_wxHelpEvent swig_types[54]
439 #define SWIGTYPE_p_wxListItem swig_types[55]
440 #define SWIGTYPE_p_wxNotebookSizer swig_types[56]
441 #define SWIGTYPE_p_wxSpinEvent swig_types[57]
442 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
443 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
444 #define SWIGTYPE_p_wxImageList swig_types[60]
445 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
446 #define SWIGTYPE_p_wxTextAttr swig_types[62]
447 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
448 #define SWIGTYPE_p_wxPoint swig_types[64]
449 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
450 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
451 #define SWIGTYPE_p_wxObject swig_types[67]
452 #define SWIGTYPE_p_wxCursor swig_types[68]
453 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
454 #define SWIGTYPE_p_wxWindow swig_types[70]
455 #define SWIGTYPE_p_wxString swig_types[71]
456 #define SWIGTYPE_p_wxBitmap swig_types[72]
457 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
458 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxStaticText swig_types[76]
461 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
462 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
463 #define SWIGTYPE_p_wxColour swig_types[79]
464 #define SWIGTYPE_p_wxToolBar swig_types[80]
465 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
466 #define SWIGTYPE_p_wxValidator swig_types[82]
467 static swig_type_info
*swig_types
[84];
469 /* -------- TYPES TABLE (END) -------- */
472 /*-----------------------------------------------
473 @(target):= _controls.so
474 ------------------------------------------------*/
475 #define SWIG_init init_controls
477 #define SWIG_name "_controls"
479 #include "wx/wxPython/wxPython.h"
480 #include "wx/wxPython/pyclasses.h"
482 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
483 static const wxString
wxPyEmptyString(wxEmptyString
);
484 static const wxString
wxPyControlNameStr(wxControlNameStr
);
485 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
486 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
487 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
488 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
489 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
490 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
491 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
492 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
494 #include <wx/checklst.h>
497 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
498 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
500 wxPyClientData
* data
= new wxPyClientData(clientData
);
501 self
->Insert(item
, pos
, data
);
503 self
->Insert(item
, pos
);
505 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
507 self
->GetSelections(lst
);
508 PyObject
*tup
= PyTuple_New(lst
.GetCount());
509 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
510 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
514 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
516 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
522 } else if (target
== Py_None
) {
526 if (!PyTuple_Check(target
)) {
528 target
= PyTuple_New(1);
529 PyTuple_SetItem(target
, 0, o2
);
532 PyTuple_SetItem(o3
, 0, o
);
535 target
= PySequence_Concat(o2
, o3
);
542 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
543 self
->AppendText(text
);
545 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
546 return self
->GetValue().Mid(from
, to
- from
);
548 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
549 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
550 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
551 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
552 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
553 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
554 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
555 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
557 #include <wx/slider.h>
560 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
561 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
563 #if defined(__WXMAC__) || defined(__WXX11__)
564 // implement dummy classes and such for wxMac
566 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
568 class wxToggleButton
: public wxControl
571 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
572 const wxPoint
&, const wxSize
&, long,
573 const wxValidator
&, const wxString
&)
574 { wxPyRaiseNotImplemented(); }
577 { wxPyRaiseNotImplemented(); }
581 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
582 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
583 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
584 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
586 Py_INCREF(udata
->m_obj
);
593 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
594 self
->SetClientData(new wxPyUserData(clientData
));
596 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
){
597 wxPyUserData
* udata
= NULL
;
598 if (clientData
&& clientData
!= Py_None
)
599 udata
= new wxPyUserData(clientData
);
600 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
601 shortHelp
, longHelp
, udata
);
603 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
){
604 wxPyUserData
* udata
= NULL
;
605 if (clientData
&& clientData
!= Py_None
)
606 udata
= new wxPyUserData(clientData
);
607 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
608 shortHelp
, longHelp
, udata
);
610 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
611 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
613 Py_INCREF(udata
->m_obj
);
620 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
621 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
624 #include <wx/listctrl.h>
627 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
628 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
629 // Python aware sorting function for wxPyListCtrl
630 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
632 PyObject
* func
= (PyObject
*)funcPtr
;
633 wxPyBeginBlockThreads();
635 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
636 PyObject
* result
= PyEval_CallObject(func
, args
);
639 retval
= PyInt_AsLong(result
);
643 wxPyEndBlockThreads();
647 // C++ Version of a Python aware class
648 class wxPyListCtrl
: public wxListCtrl
{
649 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
651 wxPyListCtrl() : wxListCtrl() {}
652 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
656 const wxValidator
& validator
,
657 const wxString
& name
) :
658 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
660 bool Create(wxWindow
* parent
, wxWindowID id
,
664 const wxValidator
& validator
,
665 const wxString
& name
) {
666 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
669 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
670 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
671 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
676 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
678 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
679 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
680 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
682 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
684 item
.SetMask( wxLIST_MASK_STATE
|
692 if (self
->GetColumn(col
, item
))
693 return new wxListItem(item
);
697 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
698 wxListItem
* info
= new wxListItem
;
699 info
->m_itemId
= itemId
;
701 info
->m_mask
= 0xFFFF;
702 self
->GetItem(*info
);
705 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
707 self
->GetItemPosition(item
, pos
);
710 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
712 self
->GetItemRect(item
, rect
, code
);
715 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
716 if (!PyCallable_Check(func
))
718 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
720 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
724 return (wxWindow
*)self
->m_mainWin
;
728 #include <wx/treectrl.h>
729 #include "wx/wxPython/pytree.h"
731 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
732 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
733 if (!other
) return False
;
734 return *self
== *other
;
736 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
737 if (!other
) return True
;
738 return *self
!= *other
;
740 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
741 // C++ version of Python aware wxTreeCtrl
742 class wxPyTreeCtrl
: public wxTreeCtrl
{
743 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
745 wxPyTreeCtrl() : wxTreeCtrl() {}
746 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
750 const wxValidator
& validator
,
751 const wxString
& name
) :
752 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
754 bool Create(wxWindow
*parent
, wxWindowID id
,
758 const wxValidator
& validator
,
759 const wxString
& name
) {
760 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
764 int OnCompareItems(const wxTreeItemId
& item1
,
765 const wxTreeItemId
& item2
) {
768 wxPyBeginBlockThreads();
769 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
770 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
771 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
772 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
776 wxPyEndBlockThreads();
778 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
784 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
787 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
788 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
790 data
= new wxPyTreeItemData();
791 data
->SetId(item
); // set the id
792 self
->SetItemData(item
, data
);
796 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
797 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
799 data
= new wxPyTreeItemData();
800 data
->SetId(item
); // set the id
801 self
->SetItemData(item
, data
);
803 return data
->GetData();
805 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
806 data
->SetId(item
); // set the id
807 self
->SetItemData(item
, data
);
809 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
810 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
812 data
= new wxPyTreeItemData(obj
);
813 data
->SetId(item
); // set the id
814 self
->SetItemData(item
, data
);
818 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
819 wxPyBeginBlockThreads();
820 PyObject
* rval
= PyList_New(0);
821 wxArrayTreeItemIds array
;
823 num
= self
->GetSelections(array
);
824 for (x
=0; x
< num
; x
++) {
825 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
826 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
827 PyList_Append(rval
, item
);
829 wxPyEndBlockThreads();
832 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
834 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
835 wxPyBeginBlockThreads();
836 PyObject
* tup
= PyTuple_New(2);
837 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
838 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
839 wxPyEndBlockThreads();
842 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
843 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
844 wxPyBeginBlockThreads();
845 PyObject
* tup
= PyTuple_New(2);
846 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
847 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
848 wxPyEndBlockThreads();
851 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
853 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
854 wxPyBeginBlockThreads();
855 wxRect
* r
= new wxRect(rect
);
856 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
857 wxPyEndBlockThreads();
863 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
864 // C++ version of Python aware wxControl
865 class wxPyControl
: public wxControl
867 DECLARE_DYNAMIC_CLASS(wxPyControl
)
869 wxPyControl() : wxControl() {}
870 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
871 const wxPoint
& pos
= wxDefaultPosition
,
872 const wxSize
& size
= wxDefaultSize
,
874 const wxValidator
& validator
=wxDefaultValidator
,
875 const wxString
& name
= wxPyControlNameStr
)
876 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
879 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
880 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
881 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
882 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
884 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
885 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
886 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
888 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
889 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
891 DEC_PYCALLBACK__(InitDialog
);
892 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
893 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
894 DEC_PYCALLBACK_BOOL_(Validate
);
896 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
897 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
898 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
900 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
901 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
906 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
908 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
909 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
910 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
911 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
913 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
914 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
915 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
917 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
918 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
920 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
921 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
922 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
923 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
925 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
926 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
927 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
929 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
930 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
935 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
937 #include <wx/generic/dragimgg.h>
942 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
943 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
948 static PyObject
*_wrap_ButtonNameStr_get() {
953 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
955 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
962 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 wxWindow
*arg1
= (wxWindow
*) 0 ;
967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
971 long arg6
= (long) 0 ;
972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
974 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
981 PyObject
* obj0
= 0 ;
982 PyObject
* obj2
= 0 ;
983 PyObject
* obj3
= 0 ;
984 PyObject
* obj4
= 0 ;
985 PyObject
* obj6
= 0 ;
986 PyObject
* obj7
= 0 ;
988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
994 arg3
= wxString_in_helper(obj2
);
995 if (arg3
== NULL
) SWIG_fail
;
1001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1011 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1018 arg8
= wxString_in_helper(obj7
);
1019 if (arg8
== NULL
) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1031 resultobj
= wxPyMake_wxObject(result
);
1055 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1065 result
= (wxButton
*)new wxButton();
1067 wxPyEndAllowThreads(__tstate
);
1068 if (PyErr_Occurred()) SWIG_fail
;
1071 resultobj
= wxPyMake_wxObject(result
);
1079 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
*resultobj
;
1081 wxButton
*arg1
= (wxButton
*) 0 ;
1082 wxWindow
*arg2
= (wxWindow
*) 0 ;
1084 wxString
*arg4
= 0 ;
1085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1089 long arg7
= (long) 0 ;
1090 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1091 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1092 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1093 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1095 bool temp4
= False
;
1098 bool temp9
= False
;
1099 PyObject
* obj0
= 0 ;
1100 PyObject
* obj1
= 0 ;
1101 PyObject
* obj3
= 0 ;
1102 PyObject
* obj4
= 0 ;
1103 PyObject
* obj5
= 0 ;
1104 PyObject
* obj7
= 0 ;
1105 PyObject
* obj8
= 0 ;
1107 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1114 arg4
= wxString_in_helper(obj3
);
1115 if (arg4
== NULL
) SWIG_fail
;
1121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1131 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1138 arg9
= wxString_in_helper(obj8
);
1139 if (arg9
== NULL
) SWIG_fail
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1150 resultobj
= PyInt_FromLong((long)result
);
1173 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
*resultobj
;
1175 wxButton
*arg1
= (wxButton
*) 0 ;
1176 PyObject
* obj0
= 0 ;
1178 (char *) "self", NULL
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 (arg1
)->SetDefault();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 Py_INCREF(Py_None
); resultobj
= Py_None
;
1197 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 result
= wxButton::GetDefaultSize();
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1214 resultptr
= new wxSize((wxSize
&) result
);
1215 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1223 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1226 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1228 return Py_BuildValue((char *)"");
1230 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
*resultobj
;
1232 wxWindow
*arg1
= (wxWindow
*) 0 ;
1234 wxBitmap
*arg3
= 0 ;
1235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1239 long arg6
= (long) wxBU_AUTODRAW
;
1240 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1241 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1242 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1243 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1244 wxBitmapButton
*result
;
1247 bool temp8
= False
;
1248 PyObject
* obj0
= 0 ;
1249 PyObject
* obj2
= 0 ;
1250 PyObject
* obj3
= 0 ;
1251 PyObject
* obj4
= 0 ;
1252 PyObject
* obj6
= 0 ;
1253 PyObject
* obj7
= 0 ;
1255 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1260 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1277 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1284 arg8
= wxString_in_helper(obj7
);
1285 if (arg8
== NULL
) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1297 resultobj
= wxPyMake_wxObject(result
);
1313 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxBitmapButton
*result
;
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 result
= (wxBitmapButton
*)new wxBitmapButton();
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= wxPyMake_wxObject(result
);
1337 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1340 wxWindow
*arg2
= (wxWindow
*) 0 ;
1342 wxBitmap
*arg4
= 0 ;
1343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1345 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1346 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1347 long arg7
= (long) wxBU_AUTODRAW
;
1348 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1349 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1350 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1351 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1355 bool temp9
= False
;
1356 PyObject
* obj0
= 0 ;
1357 PyObject
* obj1
= 0 ;
1358 PyObject
* obj3
= 0 ;
1359 PyObject
* obj4
= 0 ;
1360 PyObject
* obj5
= 0 ;
1361 PyObject
* obj7
= 0 ;
1362 PyObject
* obj8
= 0 ;
1364 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1370 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1387 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1394 arg9
= wxString_in_helper(obj8
);
1395 if (arg9
== NULL
) SWIG_fail
;
1400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1401 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1403 wxPyEndAllowThreads(__tstate
);
1404 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= PyInt_FromLong((long)result
);
1421 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1425 PyObject
* obj0
= 0 ;
1427 (char *) "self", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 result
= (arg1
)->GetBitmapLabel();
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1440 wxBitmap
* resultptr
;
1441 resultptr
= new wxBitmap((wxBitmap
&) result
);
1442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1450 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1454 PyObject
* obj0
= 0 ;
1456 (char *) "self", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (arg1
)->GetBitmapDisabled();
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 wxBitmap
* resultptr
;
1470 resultptr
= new wxBitmap((wxBitmap
&) result
);
1471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1479 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1483 PyObject
* obj0
= 0 ;
1485 (char *) "self", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= (arg1
)->GetBitmapFocus();
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1498 wxBitmap
* resultptr
;
1499 resultptr
= new wxBitmap((wxBitmap
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1508 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "self", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (arg1
)->GetBitmapSelected();
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1527 wxBitmap
* resultptr
;
1528 resultptr
= new wxBitmap((wxBitmap
&) result
);
1529 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1537 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1539 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1540 wxBitmap
*arg2
= 0 ;
1541 PyObject
* obj0
= 0 ;
1542 PyObject
* obj1
= 0 ;
1544 (char *) "self",(char *) "bitmap", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1560 Py_INCREF(Py_None
); resultobj
= Py_None
;
1567 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1570 wxBitmap
*arg2
= 0 ;
1571 PyObject
* obj0
= 0 ;
1572 PyObject
* obj1
= 0 ;
1574 (char *) "self",(char *) "bitmap", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1600 wxBitmap
*arg2
= 0 ;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1604 (char *) "self",(char *) "bitmap", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1620 Py_INCREF(Py_None
); resultobj
= Py_None
;
1627 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1630 wxBitmap
*arg2
= 0 ;
1631 PyObject
* obj0
= 0 ;
1632 PyObject
* obj1
= 0 ;
1634 (char *) "self",(char *) "bitmap", NULL
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 Py_INCREF(Py_None
); resultobj
= Py_None
;
1657 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1662 PyObject
* obj0
= 0 ;
1664 (char *) "self",(char *) "x",(char *) "y", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 (arg1
)->SetMargins(arg2
,arg3
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= PyInt_FromLong((long)result
);
1708 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
*resultobj
;
1710 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "self", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 resultobj
= PyInt_FromLong((long)result
);
1733 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1736 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1738 return Py_BuildValue((char *)"");
1740 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1741 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1746 static PyObject
*_wrap_CheckBoxNameStr_get() {
1751 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1753 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1760 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxWindow
*arg1
= (wxWindow
*) 0 ;
1764 wxString
*arg3
= 0 ;
1765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1769 long arg6
= (long) 0 ;
1770 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1771 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1772 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1773 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1775 bool temp3
= False
;
1778 bool temp8
= False
;
1779 PyObject
* obj0
= 0 ;
1780 PyObject
* obj2
= 0 ;
1781 PyObject
* obj3
= 0 ;
1782 PyObject
* obj4
= 0 ;
1783 PyObject
* obj6
= 0 ;
1784 PyObject
* obj7
= 0 ;
1786 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1792 arg3
= wxString_in_helper(obj2
);
1793 if (arg3
== NULL
) SWIG_fail
;
1799 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1805 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1809 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1816 arg8
= wxString_in_helper(obj7
);
1817 if (arg8
== NULL
) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1851 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (wxCheckBox
*)new wxCheckBox();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1873 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1876 wxWindow
*arg2
= (wxWindow
*) 0 ;
1878 wxString
*arg4
= 0 ;
1879 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1880 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1881 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1882 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1883 long arg7
= (long) 0 ;
1884 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1885 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1886 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1887 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1889 bool temp4
= False
;
1892 bool temp9
= False
;
1893 PyObject
* obj0
= 0 ;
1894 PyObject
* obj1
= 0 ;
1895 PyObject
* obj3
= 0 ;
1896 PyObject
* obj4
= 0 ;
1897 PyObject
* obj5
= 0 ;
1898 PyObject
* obj7
= 0 ;
1899 PyObject
* obj8
= 0 ;
1901 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1908 arg4
= wxString_in_helper(obj3
);
1909 if (arg4
== NULL
) SWIG_fail
;
1915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1921 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1925 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1932 arg9
= wxString_in_helper(obj8
);
1933 if (arg9
== NULL
) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= PyInt_FromLong((long)result
);
1967 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "self", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (bool)(arg1
)->GetValue();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= PyInt_FromLong((long)result
);
1992 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1996 PyObject
* obj0
= 0 ;
1998 (char *) "self", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 result
= (bool)(arg1
)->IsChecked();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 resultobj
= PyInt_FromLong((long)result
);
2017 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj1
= 0 ;
2024 (char *) "self",(char *) "state", NULL
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2030 arg2
= (bool const) SPyObj_AsBool(obj1
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 (arg1
)->SetValue(arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2053 (char *) "self", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= PyInt_FromLong((long)result
);
2072 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2078 (char *) "self",(char *) "state", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2097 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2101 PyObject
* obj0
= 0 ;
2103 (char *) "self", NULL
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= PyInt_FromLong((long)result
);
2122 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2128 (char *) "self", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= PyInt_FromLong((long)result
);
2147 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2150 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2152 return Py_BuildValue((char *)"");
2154 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2155 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2160 static PyObject
*_wrap_ChoiceNameStr_get() {
2165 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2167 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2174 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxWindow
*arg1
= (wxWindow
*) 0 ;
2178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2182 int arg5
= (int) 0 ;
2183 wxString
*arg6
= (wxString
*) NULL
;
2184 long arg7
= (long) 0 ;
2185 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2186 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2187 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2188 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2192 bool temp8
= False
;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj2
= 0 ;
2195 PyObject
* obj3
= 0 ;
2196 PyObject
* obj4
= 0 ;
2197 PyObject
* obj6
= 0 ;
2198 PyObject
* obj7
= 0 ;
2200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2219 arg5
= PyList_Size(obj4
);
2220 arg6
= wxString_LIST_helper(obj4
);
2221 if (arg6
== NULL
) SWIG_fail
;
2225 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2232 arg9
= wxString_in_helper(obj7
);
2233 if (arg9
== NULL
) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2246 if (arg6
) delete [] arg6
;
2255 if (arg6
) delete [] arg6
;
2265 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= (wxChoice
*)new wxChoice();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2287 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxChoice
*arg1
= (wxChoice
*) 0 ;
2290 wxWindow
*arg2
= (wxWindow
*) 0 ;
2292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2296 int arg6
= (int) 0 ;
2297 wxString
*arg7
= (wxString
*) NULL
;
2298 long arg8
= (long) 0 ;
2299 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2300 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2301 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2302 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2306 bool temp9
= False
;
2307 PyObject
* obj0
= 0 ;
2308 PyObject
* obj1
= 0 ;
2309 PyObject
* obj3
= 0 ;
2310 PyObject
* obj4
= 0 ;
2311 PyObject
* obj5
= 0 ;
2312 PyObject
* obj7
= 0 ;
2313 PyObject
* obj8
= 0 ;
2315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2335 arg6
= PyList_Size(obj5
);
2336 arg7
= wxString_LIST_helper(obj5
);
2337 if (arg7
== NULL
) SWIG_fail
;
2341 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2348 arg10
= wxString_in_helper(obj8
);
2349 if (arg10
== NULL
) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 resultobj
= PyInt_FromLong((long)result
);
2362 if (arg7
) delete [] arg7
;
2371 if (arg7
) delete [] arg7
;
2381 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxChoice
*arg1
= (wxChoice
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2387 (char *) "self", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 result
= (int)(arg1
)->GetColumns();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 resultobj
= PyInt_FromLong((long)result
);
2406 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
;
2408 wxChoice
*arg1
= (wxChoice
*) 0 ;
2409 int arg2
= (int) (int)1 ;
2410 PyObject
* obj0
= 0 ;
2412 (char *) "self",(char *) "n", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 (arg1
)->SetColumns(arg2
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 Py_INCREF(Py_None
); resultobj
= Py_None
;
2431 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
*resultobj
;
2433 wxChoice
*arg1
= (wxChoice
*) 0 ;
2435 PyObject
* obj0
= 0 ;
2437 (char *) "self",(char *) "n", NULL
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 (arg1
)->SetSelection(arg2
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2449 Py_INCREF(Py_None
); resultobj
= Py_None
;
2456 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxChoice
*arg1
= (wxChoice
*) 0 ;
2459 wxString
*arg2
= 0 ;
2460 bool temp2
= False
;
2461 PyObject
* obj0
= 0 ;
2462 PyObject
* obj1
= 0 ;
2464 (char *) "self",(char *) "string", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2470 arg2
= wxString_in_helper(obj1
);
2471 if (arg2
== NULL
) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2496 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxChoice
*arg1
= (wxChoice
*) 0 ;
2500 wxString
*arg3
= 0 ;
2501 bool temp3
= False
;
2502 PyObject
* obj0
= 0 ;
2503 PyObject
* obj2
= 0 ;
2505 (char *) "self",(char *) "n",(char *) "s", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 arg3
= wxString_in_helper(obj2
);
2512 if (arg3
== NULL
) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2540 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2542 return Py_BuildValue((char *)"");
2544 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2545 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2550 static PyObject
*_wrap_ComboBoxNameStr_get() {
2555 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2557 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2564 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2566 wxWindow
*arg1
= (wxWindow
*) 0 ;
2568 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2569 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2574 int arg6
= (int) 0 ;
2575 wxString
*arg7
= (wxString
*) NULL
;
2576 long arg8
= (long) 0 ;
2577 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2578 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2579 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2580 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2582 bool temp3
= False
;
2585 bool temp9
= False
;
2586 PyObject
* obj0
= 0 ;
2587 PyObject
* obj2
= 0 ;
2588 PyObject
* obj3
= 0 ;
2589 PyObject
* obj4
= 0 ;
2590 PyObject
* obj5
= 0 ;
2591 PyObject
* obj7
= 0 ;
2592 PyObject
* obj8
= 0 ;
2594 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 arg3
= wxString_in_helper(obj2
);
2602 if (arg3
== NULL
) SWIG_fail
;
2609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2620 arg6
= PyList_Size(obj5
);
2621 arg7
= wxString_LIST_helper(obj5
);
2622 if (arg7
== NULL
) SWIG_fail
;
2626 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2633 arg10
= wxString_in_helper(obj8
);
2634 if (arg10
== NULL
) SWIG_fail
;
2639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2640 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2651 if (arg7
) delete [] arg7
;
2664 if (arg7
) delete [] arg7
;
2674 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (wxComboBox
*)new wxComboBox();
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2696 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2699 wxWindow
*arg2
= (wxWindow
*) 0 ;
2701 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2703 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2704 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2705 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2706 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2707 int arg7
= (int) 0 ;
2708 wxString
*arg8
= (wxString
*) NULL
;
2709 long arg9
= (long) 0 ;
2710 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2711 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2712 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2713 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2715 bool temp4
= False
;
2718 bool temp10
= False
;
2719 PyObject
* obj0
= 0 ;
2720 PyObject
* obj1
= 0 ;
2721 PyObject
* obj3
= 0 ;
2722 PyObject
* obj4
= 0 ;
2723 PyObject
* obj5
= 0 ;
2724 PyObject
* obj6
= 0 ;
2725 PyObject
* obj8
= 0 ;
2726 PyObject
* obj9
= 0 ;
2728 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2736 arg4
= wxString_in_helper(obj3
);
2737 if (arg4
== NULL
) SWIG_fail
;
2744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2755 arg7
= PyList_Size(obj6
);
2756 arg8
= wxString_LIST_helper(obj6
);
2757 if (arg8
== NULL
) SWIG_fail
;
2761 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2762 if (arg10
== NULL
) {
2763 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2768 arg11
= wxString_in_helper(obj9
);
2769 if (arg11
== NULL
) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= PyInt_FromLong((long)result
);
2786 if (arg8
) delete [] arg8
;
2799 if (arg8
) delete [] arg8
;
2809 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "self", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= ((wxComboBox
const *)arg1
)->GetValue();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2840 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2843 wxString
*arg2
= 0 ;
2844 bool temp2
= False
;
2845 PyObject
* obj0
= 0 ;
2846 PyObject
* obj1
= 0 ;
2848 (char *) "self",(char *) "value", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2854 arg2
= wxString_in_helper(obj1
);
2855 if (arg2
== NULL
) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetValue((wxString
const &)*arg2
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2880 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "self", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "self", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 Py_INCREF(Py_None
); resultobj
= Py_None
;
2928 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2952 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self",(char *) "pos", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 (arg1
)->SetInsertionPoint(arg2
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 Py_INCREF(Py_None
); resultobj
= Py_None
;
2977 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2981 PyObject
* obj0
= 0 ;
2983 (char *) "self", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= PyInt_FromLong((long)result
);
3002 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
*resultobj
;
3004 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3006 PyObject
* obj0
= 0 ;
3008 (char *) "self", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= PyInt_FromLong((long)result
);
3027 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3032 wxString
*arg4
= 0 ;
3033 bool temp4
= False
;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj3
= 0 ;
3037 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3043 arg4
= wxString_in_helper(obj3
);
3044 if (arg4
== NULL
) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3069 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3075 (char *) "self",(char *) "n", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 (arg1
)->SetSelection(arg2
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 Py_INCREF(Py_None
); resultobj
= Py_None
;
3094 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3101 (char *) "self",(char *) "from",(char *) "to", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 (arg1
)->SetSelection(arg2
,arg3
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 Py_INCREF(Py_None
); resultobj
= Py_None
;
3120 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3124 PyObject
* obj0
= 0 ;
3125 PyObject
* obj1
= 0 ;
3127 (char *) "self",(char *) "editable", NULL
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 arg2
= (bool) SPyObj_AsBool(obj1
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 (arg1
)->SetEditable(arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 Py_INCREF(Py_None
); resultobj
= Py_None
;
3150 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->SetInsertionPointEnd();
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self",(char *) "from",(char *) "to", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 (arg1
)->Remove(arg2
,arg3
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3203 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3205 return Py_BuildValue((char *)"");
3207 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3208 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3213 static PyObject
*_wrap_GaugeNameStr_get() {
3218 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3220 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3227 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxWindow
*arg1
= (wxWindow
*) 0 ;
3232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3236 long arg6
= (long) wxGA_HORIZONTAL
;
3237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3239 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3244 bool temp8
= False
;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj3
= 0 ;
3247 PyObject
* obj4
= 0 ;
3248 PyObject
* obj6
= 0 ;
3249 PyObject
* obj7
= 0 ;
3251 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3259 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3265 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3269 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3276 arg8
= wxString_in_helper(obj7
);
3277 if (arg8
== NULL
) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3303 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (wxGauge
*)new wxGauge();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3325 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxGauge
*arg1
= (wxGauge
*) 0 ;
3328 wxWindow
*arg2
= (wxWindow
*) 0 ;
3331 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3332 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3333 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3334 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3335 long arg7
= (long) wxGA_HORIZONTAL
;
3336 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3337 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3338 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3339 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3343 bool temp9
= False
;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3346 PyObject
* obj4
= 0 ;
3347 PyObject
* obj5
= 0 ;
3348 PyObject
* obj7
= 0 ;
3349 PyObject
* obj8
= 0 ;
3351 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3360 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3366 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3370 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3377 arg9
= wxString_in_helper(obj8
);
3378 if (arg9
== NULL
) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= PyInt_FromLong((long)result
);
3404 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxGauge
*arg1
= (wxGauge
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3410 (char *) "self",(char *) "range", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 (arg1
)->SetRange(arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxGauge
*arg1
= (wxGauge
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3435 (char *) "self", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= PyInt_FromLong((long)result
);
3454 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxGauge
*arg1
= (wxGauge
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self",(char *) "pos", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetValue(arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxGauge
*arg1
= (wxGauge
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= PyInt_FromLong((long)result
);
3504 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxGauge
*arg1
= (wxGauge
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3510 (char *) "self", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= PyInt_FromLong((long)result
);
3529 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxGauge
*arg1
= (wxGauge
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self",(char *) "w", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->SetShadowWidth(arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxGauge
*arg1
= (wxGauge
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "self", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= PyInt_FromLong((long)result
);
3579 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxGauge
*arg1
= (wxGauge
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "self",(char *) "w", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 (arg1
)->SetBezelFace(arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxGauge
*arg1
= (wxGauge
*) 0 ;
3608 PyObject
* obj0
= 0 ;
3610 (char *) "self", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= PyInt_FromLong((long)result
);
3629 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3632 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3634 return Py_BuildValue((char *)"");
3636 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3637 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3642 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3647 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3649 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3656 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3657 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3662 static PyObject
*_wrap_StaticBoxNameStr_get() {
3667 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3669 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3676 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3677 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3682 static PyObject
*_wrap_StaticTextNameStr_get() {
3687 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3689 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3696 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxWindow
*arg1
= (wxWindow
*) 0 ;
3700 wxString
*arg3
= 0 ;
3701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3705 long arg6
= (long) 0 ;
3706 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3708 wxStaticBox
*result
;
3709 bool temp3
= False
;
3712 bool temp7
= False
;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj2
= 0 ;
3715 PyObject
* obj3
= 0 ;
3716 PyObject
* obj4
= 0 ;
3717 PyObject
* obj6
= 0 ;
3719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3725 arg3
= wxString_in_helper(obj2
);
3726 if (arg3
== NULL
) SWIG_fail
;
3732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3743 arg7
= wxString_in_helper(obj6
);
3744 if (arg7
== NULL
) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= wxPyMake_wxObject(result
);
3780 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxStaticBox
*result
;
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (wxStaticBox
*)new wxStaticBox();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= wxPyMake_wxObject(result
);
3804 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3807 wxWindow
*arg2
= (wxWindow
*) 0 ;
3809 wxString
*arg4
= 0 ;
3810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3814 long arg7
= (long) 0 ;
3815 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3816 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3818 bool temp4
= False
;
3821 bool temp8
= False
;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3824 PyObject
* obj3
= 0 ;
3825 PyObject
* obj4
= 0 ;
3826 PyObject
* obj5
= 0 ;
3827 PyObject
* obj7
= 0 ;
3829 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 arg4
= wxString_in_helper(obj3
);
3837 if (arg4
== NULL
) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3849 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3854 arg8
= wxString_in_helper(obj7
);
3855 if (arg8
== NULL
) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= PyInt_FromLong((long)result
);
3889 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3894 return Py_BuildValue((char *)"");
3896 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxWindow
*arg1
= (wxWindow
*) 0 ;
3900 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3901 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3902 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3903 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3904 long arg5
= (long) wxLI_HORIZONTAL
;
3905 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3906 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3907 wxStaticLine
*result
;
3910 bool temp6
= False
;
3911 PyObject
* obj0
= 0 ;
3912 PyObject
* obj2
= 0 ;
3913 PyObject
* obj3
= 0 ;
3914 PyObject
* obj5
= 0 ;
3916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3935 arg6
= wxString_in_helper(obj5
);
3936 if (arg6
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3962 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxStaticLine
*result
;
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= (wxStaticLine
*)new wxStaticLine();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3984 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3987 wxWindow
*arg2
= (wxWindow
*) 0 ;
3989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3993 long arg6
= (long) wxLI_HORIZONTAL
;
3994 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3999 bool temp7
= False
;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4002 PyObject
* obj3
= 0 ;
4003 PyObject
* obj4
= 0 ;
4004 PyObject
* obj6
= 0 ;
4006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4026 arg7
= wxString_in_helper(obj6
);
4027 if (arg7
== NULL
) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= PyInt_FromLong((long)result
);
4053 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "self", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= PyInt_FromLong((long)result
);
4078 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (int)wxStaticLine::GetDefaultSize();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= PyInt_FromLong((long)result
);
4100 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4103 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4105 return Py_BuildValue((char *)"");
4107 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxWindow
*arg1
= (wxWindow
*) 0 ;
4111 wxString
*arg3
= 0 ;
4112 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4113 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4114 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4115 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4116 long arg6
= (long) 0 ;
4117 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4118 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4119 wxStaticText
*result
;
4120 bool temp3
= False
;
4123 bool temp7
= False
;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj2
= 0 ;
4126 PyObject
* obj3
= 0 ;
4127 PyObject
* obj4
= 0 ;
4128 PyObject
* obj6
= 0 ;
4130 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4136 arg3
= wxString_in_helper(obj2
);
4137 if (arg3
== NULL
) SWIG_fail
;
4143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4154 arg7
= wxString_in_helper(obj6
);
4155 if (arg7
== NULL
) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4189 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxStaticText
*result
;
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (wxStaticText
*)new wxStaticText();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4211 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4214 wxWindow
*arg2
= (wxWindow
*) 0 ;
4216 wxString
*arg4
= 0 ;
4217 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4218 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4219 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4220 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4221 long arg7
= (long) 0 ;
4222 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4223 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4225 bool temp4
= False
;
4228 bool temp8
= False
;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj3
= 0 ;
4232 PyObject
* obj4
= 0 ;
4233 PyObject
* obj5
= 0 ;
4234 PyObject
* obj7
= 0 ;
4236 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4243 arg4
= wxString_in_helper(obj3
);
4244 if (arg4
== NULL
) SWIG_fail
;
4250 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4256 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4261 arg8
= wxString_in_helper(obj7
);
4262 if (arg8
== NULL
) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= PyInt_FromLong((long)result
);
4296 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4299 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4301 return Py_BuildValue((char *)"");
4303 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxWindow
*arg1
= (wxWindow
*) 0 ;
4307 wxBitmap
*arg3
= 0 ;
4308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4312 long arg6
= (long) 0 ;
4313 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4315 wxStaticBitmap
*result
;
4318 bool temp7
= False
;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj2
= 0 ;
4321 PyObject
* obj3
= 0 ;
4322 PyObject
* obj4
= 0 ;
4323 PyObject
* obj6
= 0 ;
4325 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4330 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4337 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4343 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4348 arg7
= wxString_in_helper(obj6
);
4349 if (arg7
== NULL
) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4375 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxStaticBitmap
*result
;
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4397 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4400 wxWindow
*arg2
= (wxWindow
*) 0 ;
4402 wxBitmap
*arg4
= 0 ;
4403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4407 long arg7
= (long) 0 ;
4408 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4409 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4413 bool temp8
= False
;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 PyObject
* obj3
= 0 ;
4417 PyObject
* obj4
= 0 ;
4418 PyObject
* obj5
= 0 ;
4419 PyObject
* obj7
= 0 ;
4421 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4427 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4445 arg8
= wxString_in_helper(obj7
);
4446 if (arg8
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= PyInt_FromLong((long)result
);
4472 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (arg1
)->GetBitmap();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 wxBitmap
* resultptr
;
4492 resultptr
= new wxBitmap((wxBitmap
&) result
);
4493 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4501 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4504 wxBitmap
*arg2
= 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "bitmap", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "icon", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 Py_INCREF(Py_None
); resultobj
= Py_None
;
4561 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4564 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4566 return Py_BuildValue((char *)"");
4568 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4569 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4574 static PyObject
*_wrap_ListBoxNameStr_get() {
4579 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4581 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4588 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxWindow
*arg1
= (wxWindow
*) 0 ;
4592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4596 int arg5
= (int) 0 ;
4597 wxString
*arg6
= (wxString
*) NULL
;
4598 long arg7
= (long) 0 ;
4599 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4600 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4601 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4602 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4606 bool temp8
= False
;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj2
= 0 ;
4609 PyObject
* obj3
= 0 ;
4610 PyObject
* obj4
= 0 ;
4611 PyObject
* obj6
= 0 ;
4612 PyObject
* obj7
= 0 ;
4614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4633 arg5
= PyList_Size(obj4
);
4634 arg6
= wxString_LIST_helper(obj4
);
4635 if (arg6
== NULL
) SWIG_fail
;
4639 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4646 arg9
= wxString_in_helper(obj7
);
4647 if (arg9
== NULL
) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4660 if (arg6
) delete [] arg6
;
4669 if (arg6
) delete [] arg6
;
4679 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 result
= (wxListBox
*)new wxListBox();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4701 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxListBox
*arg1
= (wxListBox
*) 0 ;
4704 wxWindow
*arg2
= (wxWindow
*) 0 ;
4706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4710 int arg6
= (int) 0 ;
4711 wxString
*arg7
= (wxString
*) NULL
;
4712 long arg8
= (long) 0 ;
4713 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4714 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4715 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4716 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4720 bool temp9
= False
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj3
= 0 ;
4724 PyObject
* obj4
= 0 ;
4725 PyObject
* obj5
= 0 ;
4726 PyObject
* obj7
= 0 ;
4727 PyObject
* obj8
= 0 ;
4729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4749 arg6
= PyList_Size(obj5
);
4750 arg7
= wxString_LIST_helper(obj5
);
4751 if (arg7
== NULL
) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4762 arg10
= wxString_in_helper(obj8
);
4763 if (arg10
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= PyInt_FromLong((long)result
);
4776 if (arg7
) delete [] arg7
;
4785 if (arg7
) delete [] arg7
;
4795 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxListBox
*arg1
= (wxListBox
*) 0 ;
4798 wxString
*arg2
= 0 ;
4800 PyObject
*arg4
= (PyObject
*) NULL
;
4801 bool temp2
= False
;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj3
= 0 ;
4806 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 arg2
= wxString_in_helper(obj1
);
4813 if (arg2
== NULL
) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxListBox
*arg1
= (wxListBox
*) 0 ;
4844 wxArrayString
*arg2
= 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4849 (char *) "self",(char *) "items",(char *) "pos", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4855 if (! PySequence_Check(obj1
)) {
4856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4859 arg2
= new wxArrayString
;
4860 int i
, len
=PySequence_Length(obj1
);
4861 for (i
=0; i
<len
; i
++) {
4862 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4864 PyObject
* str
= PyObject_Unicode(item
);
4866 PyObject
* str
= PyObject_Str(item
);
4868 arg2
->Add(Py2wxString(str
));
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4882 if (arg2
) delete arg2
;
4887 if (arg2
) delete arg2
;
4893 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxListBox
*arg1
= (wxListBox
*) 0 ;
4896 wxArrayString
*arg2
= 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4900 (char *) "self",(char *) "items", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 if (! PySequence_Check(obj1
)) {
4907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4910 arg2
= new wxArrayString
;
4911 int i
, len
=PySequence_Length(obj1
);
4912 for (i
=0; i
<len
; i
++) {
4913 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4915 PyObject
* str
= PyObject_Unicode(item
);
4917 PyObject
* str
= PyObject_Str(item
);
4919 arg2
->Add(Py2wxString(str
));
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 (arg1
)->Set((wxArrayString
const &)*arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 if (arg2
) delete arg2
;
4938 if (arg2
) delete arg2
;
4944 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxListBox
*arg1
= (wxListBox
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self",(char *) "n", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= PyInt_FromLong((long)result
);
4970 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxListBox
*arg1
= (wxListBox
*) 0 ;
4974 bool arg3
= (bool) True
;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj2
= 0 ;
4978 (char *) "self",(char *) "n",(char *) "select", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 arg3
= (bool) SPyObj_AsBool(obj2
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 (arg1
)->SetSelection(arg2
,arg3
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 Py_INCREF(Py_None
); resultobj
= Py_None
;
5003 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxListBox
*arg1
= (wxListBox
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self",(char *) "n", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->Select(arg2
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxListBox
*arg1
= (wxListBox
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self",(char *) "n", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 (arg1
)->Deselect(arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxListBox
*arg1
= (wxListBox
*) 0 ;
5056 int arg2
= (int) -1 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self",(char *) "itemToLeaveSelected", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 (arg1
)->DeselectAll(arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxListBox
*arg1
= (wxListBox
*) 0 ;
5081 wxString
*arg2
= 0 ;
5082 bool arg3
= (bool) True
;
5084 bool temp2
= False
;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5089 (char *) "self",(char *) "s",(char *) "select", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5095 arg2
= wxString_in_helper(obj1
);
5096 if (arg2
== NULL
) SWIG_fail
;
5101 arg3
= (bool) SPyObj_AsBool(obj2
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= PyInt_FromLong((long)result
);
5127 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxListBox
*arg1
= (wxListBox
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5152 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxListBox
*arg1
= (wxListBox
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self",(char *) "n", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 (arg1
)->SetFirstItem(arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxListBox
*arg1
= (wxListBox
*) 0 ;
5180 wxString
*arg2
= 0 ;
5181 bool temp2
= False
;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "s", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5191 arg2
= wxString_in_helper(obj1
);
5192 if (arg2
== NULL
) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 Py_INCREF(Py_None
); resultobj
= Py_None
;
5217 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxListBox
*arg1
= (wxListBox
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self",(char *) "n", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->EnsureVisible(arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxListBox
*arg1
= (wxListBox
*) 0 ;
5245 wxString
*arg2
= 0 ;
5246 bool temp2
= False
;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "s", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5256 arg2
= wxString_in_helper(obj1
);
5257 if (arg2
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxListBox
*arg1
= (wxListBox
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= PyInt_FromLong((long)result
);
5307 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5312 return Py_BuildValue((char *)"");
5314 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxWindow
*arg1
= (wxWindow
*) 0 ;
5318 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5319 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5320 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5321 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5322 int arg5
= (int) 0 ;
5323 wxString
*arg6
= (wxString
*) NULL
;
5324 long arg7
= (long) 0 ;
5325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5327 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5329 wxCheckListBox
*result
;
5332 bool temp8
= False
;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5336 PyObject
* obj4
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5354 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5359 arg5
= PyList_Size(obj4
);
5360 arg6
= wxString_LIST_helper(obj4
);
5361 if (arg6
== NULL
) SWIG_fail
;
5365 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5372 arg9
= wxString_in_helper(obj7
);
5373 if (arg9
== NULL
) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5386 if (arg6
) delete [] arg6
;
5395 if (arg6
) delete [] arg6
;
5405 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxCheckListBox
*result
;
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (wxCheckListBox
*)new wxCheckListBox();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5427 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5430 wxWindow
*arg2
= (wxWindow
*) 0 ;
5432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5436 int arg6
= (int) 0 ;
5437 wxString
*arg7
= (wxString
*) NULL
;
5438 long arg8
= (long) 0 ;
5439 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5440 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5441 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5442 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5446 bool temp9
= False
;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 PyObject
* obj3
= 0 ;
5450 PyObject
* obj4
= 0 ;
5451 PyObject
* obj5
= 0 ;
5452 PyObject
* obj7
= 0 ;
5453 PyObject
* obj8
= 0 ;
5455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5475 arg6
= PyList_Size(obj5
);
5476 arg7
= wxString_LIST_helper(obj5
);
5477 if (arg7
== NULL
) SWIG_fail
;
5481 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5488 arg10
= wxString_in_helper(obj8
);
5489 if (arg10
== NULL
) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= PyInt_FromLong((long)result
);
5502 if (arg7
) delete [] arg7
;
5511 if (arg7
) delete [] arg7
;
5521 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self",(char *) "index", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (bool)(arg1
)->IsChecked(arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= PyInt_FromLong((long)result
);
5547 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5551 int arg3
= (int) True
;
5552 PyObject
* obj0
= 0 ;
5554 (char *) "self",(char *) "index",(char *) "check", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->Check(arg2
,arg3
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5579 (char *) "self", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (int)(arg1
)->GetItemHeight();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= PyInt_FromLong((long)result
);
5598 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "pt", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= PyInt_FromLong((long)result
);
5630 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "self",(char *) "x",(char *) "y", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= PyInt_FromLong((long)result
);
5657 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5660 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5662 return Py_BuildValue((char *)"");
5664 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5665 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5670 static PyObject
*_wrap_TextCtrlNameStr_get() {
5675 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5677 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5684 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5685 PyObject
*resultobj
;
5688 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (wxTextAttr
*)new wxTextAttr();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5703 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5704 PyObject
*resultobj
;
5705 wxColour
*arg1
= 0 ;
5706 wxColour
const &arg2_defvalue
= wxNullColour
;
5707 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5708 wxFont
const &arg3_defvalue
= wxNullFont
;
5709 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5710 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5716 PyObject
* obj2
= 0 ;
5718 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5721 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5730 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5749 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5754 argc
= PyObject_Length(args
);
5755 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5756 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5759 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5761 if ((argc
>= 1) && (argc
<= 4)) {
5764 _v
= wxColour_typecheck(argv
[0]);
5768 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5771 _v
= wxColour_typecheck(argv
[1]);
5775 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5779 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5788 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5790 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5796 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5801 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5806 (char *) "self", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5828 wxColour
*arg2
= 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5833 (char *) "self",(char *) "colText", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5859 wxColour
*arg2
= 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "colBack", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5891 long arg3
= (long) wxTEXT_ATTR_FONT
;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "font",(char *) "flags", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self",(char *) "alignment", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5946 wxArrayInt
*arg2
= 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5950 (char *) "self",(char *) "tabs", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5956 if (! PySequence_Check(obj1
)) {
5957 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5960 arg2
= new wxArrayInt
;
5961 int i
, len
=PySequence_Length(obj1
);
5962 for (i
=0; i
<len
; i
++) {
5963 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5964 PyObject
* number
= PyNumber_Int(item
);
5965 arg2
->Add(PyInt_AS_LONG(number
));
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5979 if (arg2
) delete arg2
;
5984 if (arg2
) delete arg2
;
5990 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self",(char *) "indent", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 (arg1
)->SetLeftIndent(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 Py_INCREF(Py_None
); resultobj
= Py_None
;
6015 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6021 (char *) "self",(char *) "indent", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 (arg1
)->SetRightIndent(arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 Py_INCREF(Py_None
); resultobj
= Py_None
;
6040 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6046 (char *) "self",(char *) "flags", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 (arg1
)->SetFlags(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 Py_INCREF(Py_None
); resultobj
= Py_None
;
6065 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6071 (char *) "self", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= PyInt_FromLong((long)result
);
6090 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6096 (char *) "self", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6103 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= PyInt_FromLong((long)result
);
6115 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6121 (char *) "self", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= PyInt_FromLong((long)result
);
6140 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "self", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= PyInt_FromLong((long)result
);
6165 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= PyInt_FromLong((long)result
);
6190 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= PyInt_FromLong((long)result
);
6215 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= PyInt_FromLong((long)result
);
6240 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self",(char *) "flag", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= PyInt_FromLong((long)result
);
6266 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6281 result
= (wxColour
*) &_result_ref
;
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6294 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6309 result
= (wxColour
*) &_result_ref
;
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6322 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6337 result
= (wxFont
*) &_result_ref
;
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6350 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6356 (char *) "self", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= PyInt_FromLong((long)result
);
6375 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6390 result
= (wxArrayInt
*) &_result_ref
;
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= PyList_New(0);
6399 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6400 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6401 PyList_Append(resultobj
, val
);
6411 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6417 (char *) "self", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= PyInt_FromLong((long)result
);
6436 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= PyInt_FromLong((long)result
);
6461 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6465 PyObject
* obj0
= 0 ;
6467 (char *) "self", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= PyInt_FromLong((long)result
);
6486 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= PyInt_FromLong((long)result
);
6511 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxTextAttr
*arg1
= 0 ;
6514 wxTextAttr
*arg2
= 0 ;
6515 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6519 PyObject
* obj2
= 0 ;
6521 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6527 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6533 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 wxTextAttr
* resultptr
;
6543 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6544 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6552 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6555 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6557 return Py_BuildValue((char *)"");
6559 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxWindow
*arg1
= (wxWindow
*) 0 ;
6563 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6569 long arg6
= (long) 0 ;
6570 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6571 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6572 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6575 bool temp3
= False
;
6578 bool temp8
= False
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj2
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 PyObject
* obj4
= 0 ;
6583 PyObject
* obj6
= 0 ;
6584 PyObject
* obj7
= 0 ;
6586 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6593 arg3
= wxString_in_helper(obj2
);
6594 if (arg3
== NULL
) SWIG_fail
;
6601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6611 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6618 arg8
= wxString_in_helper(obj7
);
6619 if (arg8
== NULL
) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= wxPyMake_wxObject(result
);
6655 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxTextCtrl
*)new wxTextCtrl();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= wxPyMake_wxObject(result
);
6679 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6682 wxWindow
*arg2
= (wxWindow
*) 0 ;
6684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6686 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6687 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6688 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6689 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6690 long arg7
= (long) 0 ;
6691 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6692 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6693 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6694 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6696 bool temp4
= False
;
6699 bool temp9
= False
;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj3
= 0 ;
6703 PyObject
* obj4
= 0 ;
6704 PyObject
* obj5
= 0 ;
6705 PyObject
* obj7
= 0 ;
6706 PyObject
* obj8
= 0 ;
6708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6716 arg4
= wxString_in_helper(obj3
);
6717 if (arg4
== NULL
) SWIG_fail
;
6724 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6730 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6741 arg9
= wxString_in_helper(obj8
);
6742 if (arg9
== NULL
) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= PyInt_FromLong((long)result
);
6776 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6807 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6810 wxString
*arg2
= 0 ;
6811 bool temp2
= False
;
6812 PyObject
* obj0
= 0 ;
6813 PyObject
* obj1
= 0 ;
6815 (char *) "self",(char *) "value", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6821 arg2
= wxString_in_helper(obj1
);
6822 if (arg2
== NULL
) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 (arg1
)->SetValue((wxString
const &)*arg2
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self",(char *) "from",(char *) "to", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6880 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self",(char *) "lineNo", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyInt_FromLong((long)result
);
6906 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self",(char *) "lineNo", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6938 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= PyInt_FromLong((long)result
);
6963 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= PyInt_FromLong((long)result
);
6988 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= PyInt_FromLong((long)result
);
7013 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "self", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= PyInt_FromLong((long)result
);
7038 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= PyInt_FromLong((long)result
);
7063 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7066 long *arg2
= (long *) 0 ;
7067 long *arg3
= (long *) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "self", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7088 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7089 resultobj
= t_output_helper(resultobj
,o
);
7092 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7093 resultobj
= t_output_helper(resultobj
,o
);
7101 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7107 (char *) "self", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7132 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7161 wxString
*arg4
= 0 ;
7162 bool temp4
= False
;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj3
= 0 ;
7166 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 arg4
= wxString_in_helper(obj3
);
7173 if (arg4
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7198 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self",(char *) "from",(char *) "to", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->Remove(arg2
,arg3
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7227 wxString
*arg2
= 0 ;
7229 bool temp2
= False
;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "file", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 arg2
= wxString_in_helper(obj1
);
7240 if (arg2
== NULL
) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= PyInt_FromLong((long)result
);
7265 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7268 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7269 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7271 bool temp2
= False
;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7275 (char *) "self",(char *) "file", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7282 arg2
= wxString_in_helper(obj1
);
7283 if (arg2
== NULL
) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= PyInt_FromLong((long)result
);
7309 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "self", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 (arg1
)->MarkDirty();
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->DiscardEdits();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7360 unsigned long arg2
;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "len", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7370 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->SetMaxLength(arg2
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7390 wxString
*arg2
= 0 ;
7391 bool temp2
= False
;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "text", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 arg2
= wxString_in_helper(obj1
);
7402 if (arg2
== NULL
) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 (arg1
)->WriteText((wxString
const &)*arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7430 wxString
*arg2
= 0 ;
7431 bool temp2
= False
;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "self",(char *) "text", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 arg2
= wxString_in_helper(obj1
);
7442 if (arg2
== NULL
) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 (arg1
)->AppendText((wxString
const &)*arg2
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7470 wxKeyEvent
*arg2
= 0 ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7475 (char *) "self",(char *) "event", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= PyInt_FromLong((long)result
);
7498 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7503 wxTextAttr
*arg4
= 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj3
= 0 ;
7508 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= PyInt_FromLong((long)result
);
7531 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7535 wxTextAttr
*arg3
= 0 ;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj2
= 0 ;
7540 (char *) "self",(char *) "position",(char *) "style", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7545 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= PyInt_FromLong((long)result
);
7563 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7566 wxTextAttr
*arg2
= 0 ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "style", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= PyInt_FromLong((long)result
);
7594 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7609 result
= (wxTextAttr
*) &_result_ref
;
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7622 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self",(char *) "x",(char *) "y", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyInt_FromLong((long)result
);
7649 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7653 long *arg3
= (long *) 0 ;
7654 long *arg4
= (long *) 0 ;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "self",(char *) "pos", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 Py_INCREF(Py_None
); resultobj
= Py_None
;
7675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7676 resultobj
= t_output_helper(resultobj
,o
);
7679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7680 resultobj
= t_output_helper(resultobj
,o
);
7688 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self",(char *) "pos", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->ShowPosition(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 Py_INCREF(Py_None
); resultobj
= Py_None
;
7737 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 Py_INCREF(Py_None
); resultobj
= Py_None
;
7785 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= PyInt_FromLong((long)result
);
7810 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= PyInt_FromLong((long)result
);
7835 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= PyInt_FromLong((long)result
);
7860 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 (char *) "self", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= PyInt_FromLong((long)result
);
7933 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "self", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= PyInt_FromLong((long)result
);
7958 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7964 (char *) "self",(char *) "pos", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 (arg1
)->SetInsertionPoint(arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->SetInsertionPointEnd();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= PyInt_FromLong((long)result
);
8032 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= PyInt_FromLong((long)result
);
8057 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self",(char *) "from",(char *) "to", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 (arg1
)->SetSelection(arg2
,arg3
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8083 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 (arg1
)->SelectAll();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8114 (char *) "self",(char *) "editable", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 arg2
= (bool) SPyObj_AsBool(obj1
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetEditable(arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8140 wxString
*arg2
= 0 ;
8141 bool temp2
= False
;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8145 (char *) "self",(char *) "text", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8151 arg2
= wxString_in_helper(obj1
);
8152 if (arg2
== NULL
) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self",(char *) "from",(char *) "to", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8210 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8215 return Py_BuildValue((char *)"");
8217 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8220 wxMouseEvent
*arg2
= 0 ;
8223 wxTextUrlEvent
*result
;
8224 PyObject
* obj1
= 0 ;
8226 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8248 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8251 wxMouseEvent
*result
;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "self", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8263 result
= (wxMouseEvent
*) &_result_ref
;
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8276 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8282 (char *) "self", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= PyInt_FromLong((long)result
);
8301 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "self", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= PyInt_FromLong((long)result
);
8326 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8329 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8331 return Py_BuildValue((char *)"");
8333 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8334 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8339 static PyObject
*_wrap_ScrollBarNameStr_get() {
8344 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8346 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8353 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxWindow
*arg1
= (wxWindow
*) 0 ;
8356 int arg2
= (int) -1 ;
8357 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8358 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8359 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8360 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8361 long arg5
= (long) wxSB_HORIZONTAL
;
8362 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8363 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8364 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8365 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8366 wxScrollBar
*result
;
8369 bool temp7
= False
;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj2
= 0 ;
8372 PyObject
* obj3
= 0 ;
8373 PyObject
* obj5
= 0 ;
8374 PyObject
* obj6
= 0 ;
8376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8394 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8401 arg7
= wxString_in_helper(obj6
);
8402 if (arg7
== NULL
) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8428 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxScrollBar
*result
;
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxScrollBar
*)new wxScrollBar();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8450 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8453 wxWindow
*arg2
= (wxWindow
*) 0 ;
8454 int arg3
= (int) -1 ;
8455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8459 long arg6
= (long) wxSB_HORIZONTAL
;
8460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8462 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8467 bool temp8
= False
;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 PyObject
* obj6
= 0 ;
8473 PyObject
* obj7
= 0 ;
8475 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8494 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8501 arg8
= wxString_in_helper(obj7
);
8502 if (arg8
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyInt_FromLong((long)result
);
8528 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= PyInt_FromLong((long)result
);
8553 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8557 PyObject
* obj0
= 0 ;
8559 (char *) "self", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= PyInt_FromLong((long)result
);
8578 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8582 PyObject
* obj0
= 0 ;
8584 (char *) "self", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= PyInt_FromLong((long)result
);
8603 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "self", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= PyInt_FromLong((long)result
);
8628 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8634 (char *) "self", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= PyInt_FromLong((long)result
);
8653 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "self",(char *) "viewStart", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 (arg1
)->SetThumbPosition(arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8678 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8685 bool arg6
= (bool) True
;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj5
= 0 ;
8689 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8696 arg6
= (bool) SPyObj_AsBool(obj5
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8717 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8719 return Py_BuildValue((char *)"");
8721 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8722 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8727 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8732 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8734 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8741 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8742 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8747 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8752 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8754 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8761 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxWindow
*arg1
= (wxWindow
*) 0 ;
8764 int arg2
= (int) -1 ;
8765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8769 long arg5
= (long) wxSP_HORIZONTAL
;
8770 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8771 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8772 wxSpinButton
*result
;
8775 bool temp6
= False
;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj2
= 0 ;
8778 PyObject
* obj3
= 0 ;
8779 PyObject
* obj5
= 0 ;
8781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8795 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8800 arg6
= wxString_in_helper(obj5
);
8801 if (arg6
== NULL
) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8827 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxSpinButton
*result
;
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxSpinButton
*)new wxSpinButton();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8849 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8852 wxWindow
*arg2
= (wxWindow
*) 0 ;
8853 int arg3
= (int) -1 ;
8854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8858 long arg6
= (long) wxSP_HORIZONTAL
;
8859 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8864 bool temp7
= False
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj3
= 0 ;
8868 PyObject
* obj4
= 0 ;
8869 PyObject
* obj6
= 0 ;
8871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8880 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8886 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8891 arg7
= wxString_in_helper(obj6
);
8892 if (arg7
== NULL
) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= PyInt_FromLong((long)result
);
8918 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= PyInt_FromLong((long)result
);
8943 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyInt_FromLong((long)result
);
8968 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "self", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= PyInt_FromLong((long)result
);
8993 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self",(char *) "val", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 (arg1
)->SetValue(arg2
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self",(char *) "minVal", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetMin(arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self",(char *) "maxVal", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 (arg1
)->SetMax(arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->SetRange(arg2
,arg3
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= PyInt_FromLong((long)result
);
9119 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9122 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9124 return Py_BuildValue((char *)"");
9126 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxWindow
*arg1
= (wxWindow
*) 0 ;
9129 int arg2
= (int) -1 ;
9130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9136 long arg6
= (long) wxSP_ARROW_KEYS
;
9137 int arg7
= (int) 0 ;
9138 int arg8
= (int) 100 ;
9139 int arg9
= (int) 0 ;
9140 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9141 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9143 bool temp3
= False
;
9146 bool temp10
= False
;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj2
= 0 ;
9149 PyObject
* obj3
= 0 ;
9150 PyObject
* obj4
= 0 ;
9151 PyObject
* obj9
= 0 ;
9153 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9160 arg3
= wxString_in_helper(obj2
);
9161 if (arg3
== NULL
) SWIG_fail
;
9168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9179 arg10
= wxString_in_helper(obj9
);
9180 if (arg10
== NULL
) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9214 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9236 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9239 wxWindow
*arg2
= (wxWindow
*) 0 ;
9240 int arg3
= (int) -1 ;
9241 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9242 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9243 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9244 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9245 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9246 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9247 long arg7
= (long) wxSP_ARROW_KEYS
;
9248 int arg8
= (int) 0 ;
9249 int arg9
= (int) 100 ;
9250 int arg10
= (int) 0 ;
9251 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9252 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9254 bool temp4
= False
;
9257 bool temp11
= False
;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj3
= 0 ;
9261 PyObject
* obj4
= 0 ;
9262 PyObject
* obj5
= 0 ;
9263 PyObject
* obj10
= 0 ;
9265 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 arg4
= wxString_in_helper(obj3
);
9274 if (arg4
== NULL
) SWIG_fail
;
9281 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9287 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9292 arg11
= wxString_in_helper(obj10
);
9293 if (arg11
== NULL
) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyInt_FromLong((long)result
);
9327 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= PyInt_FromLong((long)result
);
9352 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self",(char *) "value", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 (arg1
)->SetValue(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9380 wxString
*arg2
= 0 ;
9381 bool temp2
= False
;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "text", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9391 arg2
= wxString_in_helper(obj1
);
9392 if (arg2
== NULL
) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetValue((wxString
const &)*arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->SetRange(arg2
,arg3
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= PyInt_FromLong((long)result
);
9468 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= PyInt_FromLong((long)result
);
9493 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self",(char *) "from",(char *) "to", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 (arg1
)->SetSelection(arg2
,arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 Py_INCREF(Py_None
); resultobj
= Py_None
;
9519 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9522 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9524 return Py_BuildValue((char *)"");
9526 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9529 int arg2
= (int) 0 ;
9530 wxSpinEvent
*result
;
9532 (char *) "commandType",(char *) "winid", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SpinEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
9550 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= PyInt_FromLong((long)result
);
9575 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self",(char *) "pos", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SetPosition(arg2
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
9605 return Py_BuildValue((char *)"");
9607 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9608 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9613 static PyObject
*_wrap_RadioBoxNameStr_get() {
9618 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9620 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9627 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9628 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9633 static PyObject
*_wrap_RadioButtonNameStr_get() {
9638 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9640 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9647 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxWindow
*arg1
= (wxWindow
*) 0 ;
9651 wxString
*arg3
= 0 ;
9652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9656 int arg6
= (int) 0 ;
9657 wxString
*arg7
= (wxString
*) NULL
;
9658 int arg8
= (int) 0 ;
9659 long arg9
= (long) wxRA_HORIZONTAL
;
9660 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9661 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9662 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9663 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9665 bool temp3
= False
;
9668 bool temp10
= False
;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj2
= 0 ;
9671 PyObject
* obj3
= 0 ;
9672 PyObject
* obj4
= 0 ;
9673 PyObject
* obj5
= 0 ;
9674 PyObject
* obj8
= 0 ;
9675 PyObject
* obj9
= 0 ;
9677 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9683 arg3
= wxString_in_helper(obj2
);
9684 if (arg3
== NULL
) SWIG_fail
;
9690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9701 arg6
= PyList_Size(obj5
);
9702 arg7
= wxString_LIST_helper(obj5
);
9703 if (arg7
== NULL
) SWIG_fail
;
9707 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9708 if (arg10
== NULL
) {
9709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9714 arg11
= wxString_in_helper(obj9
);
9715 if (arg11
== NULL
) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9732 if (arg7
) delete [] arg7
;
9745 if (arg7
) delete [] arg7
;
9755 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (wxRadioBox
*)new wxRadioBox();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9777 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9780 wxWindow
*arg2
= (wxWindow
*) 0 ;
9782 wxString
*arg4
= 0 ;
9783 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9784 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9785 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9786 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9787 int arg7
= (int) 0 ;
9788 wxString
*arg8
= (wxString
*) NULL
;
9789 int arg9
= (int) 0 ;
9790 long arg10
= (long) wxRA_HORIZONTAL
;
9791 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9792 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9793 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9794 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9796 bool temp4
= False
;
9799 bool temp11
= False
;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj3
= 0 ;
9803 PyObject
* obj4
= 0 ;
9804 PyObject
* obj5
= 0 ;
9805 PyObject
* obj6
= 0 ;
9806 PyObject
* obj9
= 0 ;
9807 PyObject
* obj10
= 0 ;
9809 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9816 arg4
= wxString_in_helper(obj3
);
9817 if (arg4
== NULL
) SWIG_fail
;
9823 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9829 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9834 arg7
= PyList_Size(obj6
);
9835 arg8
= wxString_LIST_helper(obj6
);
9836 if (arg8
== NULL
) SWIG_fail
;
9840 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9841 if (arg11
== NULL
) {
9842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9847 arg12
= wxString_in_helper(obj10
);
9848 if (arg12
== NULL
) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxValidator
const &)*arg11
,(wxString
const &)*arg12
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= PyInt_FromLong((long)result
);
9865 if (arg8
) delete [] arg8
;
9878 if (arg8
) delete [] arg8
;
9888 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self",(char *) "n", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 (arg1
)->SetSelection(arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 Py_INCREF(Py_None
); resultobj
= Py_None
;
9913 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "self", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= PyInt_FromLong((long)result
);
9938 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9969 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9972 wxString
*arg2
= 0 ;
9974 bool temp2
= False
;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "s", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9984 arg2
= wxString_in_helper(obj1
);
9985 if (arg2
== NULL
) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= PyInt_FromLong((long)result
);
10010 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= PyInt_FromLong((long)result
);
10035 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10038 wxString
*arg2
= 0 ;
10040 bool temp2
= False
;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "s", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 arg2
= wxString_in_helper(obj1
);
10051 if (arg2
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= PyInt_FromLong((long)result
);
10076 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "n", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10108 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10112 wxString
*arg3
= 0 ;
10113 bool temp3
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "n",(char *) "label", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10123 arg3
= wxString_in_helper(obj2
);
10124 if (arg3
== NULL
) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10153 bool arg3
= (bool) True
;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj2
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self",(char *) "n",(char *) "enable", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10164 arg3
= (bool) SPyObj_AsBool(obj2
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->Enable(arg2
,arg3
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10186 bool arg3
= (bool) True
;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj2
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "n",(char *) "show", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10197 arg3
= (bool) SPyObj_AsBool(obj2
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 (arg1
)->Show(arg2
,arg3
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= PyInt_FromLong((long)result
);
10240 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= PyInt_FromLong((long)result
);
10265 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= PyInt_FromLong((long)result
);
10293 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10296 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10298 return Py_BuildValue((char *)"");
10300 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxWindow
*arg1
= (wxWindow
*) 0 ;
10304 wxString
*arg3
= 0 ;
10305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10309 long arg6
= (long) 0 ;
10310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10312 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10314 wxRadioButton
*result
;
10315 bool temp3
= False
;
10318 bool temp8
= False
;
10319 PyObject
* obj0
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 PyObject
* obj3
= 0 ;
10322 PyObject
* obj4
= 0 ;
10323 PyObject
* obj6
= 0 ;
10324 PyObject
* obj7
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10332 arg3
= wxString_in_helper(obj2
);
10333 if (arg3
== NULL
) SWIG_fail
;
10339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10349 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10350 if (arg7
== NULL
) {
10351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10356 arg8
= wxString_in_helper(obj7
);
10357 if (arg8
== NULL
) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10391 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxRadioButton
*result
;
10394 char *kwnames
[] = {
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (wxRadioButton
*)new wxRadioButton();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10413 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10416 wxWindow
*arg2
= (wxWindow
*) 0 ;
10418 wxString
*arg4
= 0 ;
10419 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10420 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10421 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10422 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10423 long arg7
= (long) 0 ;
10424 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10425 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10426 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10427 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10429 bool temp4
= False
;
10432 bool temp9
= False
;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj3
= 0 ;
10436 PyObject
* obj4
= 0 ;
10437 PyObject
* obj5
= 0 ;
10438 PyObject
* obj7
= 0 ;
10439 PyObject
* obj8
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10448 arg4
= wxString_in_helper(obj3
);
10449 if (arg4
== NULL
) SWIG_fail
;
10455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10465 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10466 if (arg8
== NULL
) {
10467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10472 arg9
= wxString_in_helper(obj8
);
10473 if (arg9
== NULL
) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= PyInt_FromLong((long)result
);
10507 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (bool)(arg1
)->GetValue();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= PyInt_FromLong((long)result
);
10532 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "value", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10545 arg2
= (bool) SPyObj_AsBool(obj1
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetValue(arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10565 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10567 return Py_BuildValue((char *)"");
10569 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10570 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10575 static PyObject
*_wrap_SliderNameStr_get() {
10580 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10582 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10589 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxWindow
*arg1
= (wxWindow
*) 0 ;
10596 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10597 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10598 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10599 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10600 long arg8
= (long) wxSL_HORIZONTAL
;
10601 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10602 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10603 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10604 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10608 bool temp10
= False
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj5
= 0 ;
10611 PyObject
* obj6
= 0 ;
10612 PyObject
* obj8
= 0 ;
10613 PyObject
* obj9
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10623 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10629 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10633 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10634 if (arg9
== NULL
) {
10635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10640 arg10
= wxString_in_helper(obj9
);
10641 if (arg10
== NULL
) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10667 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10670 char *kwnames
[] = {
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (wxSlider
*)new wxSlider();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10689 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxSlider
*arg1
= (wxSlider
*) 0 ;
10692 wxWindow
*arg2
= (wxWindow
*) 0 ;
10697 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10698 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10699 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10700 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10701 long arg9
= (long) wxSL_HORIZONTAL
;
10702 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10703 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10704 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10705 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10709 bool temp11
= False
;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 PyObject
* obj6
= 0 ;
10713 PyObject
* obj7
= 0 ;
10714 PyObject
* obj9
= 0 ;
10715 PyObject
* obj10
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10726 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10732 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10736 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 if (arg10
== NULL
) {
10738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10743 arg11
= wxString_in_helper(obj10
);
10744 if (arg11
== NULL
) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= PyInt_FromLong((long)result
);
10770 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxSlider
*arg1
= (wxSlider
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= PyInt_FromLong((long)result
);
10795 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxSlider
*arg1
= (wxSlider
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self",(char *) "value", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetValue(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxSlider
*arg1
= (wxSlider
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetRange(arg2
,arg3
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxSlider
*arg1
= (wxSlider
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= PyInt_FromLong((long)result
);
10871 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxSlider
*arg1
= (wxSlider
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= PyInt_FromLong((long)result
);
10896 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxSlider
*arg1
= (wxSlider
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "minValue", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetMin(arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxSlider
*arg1
= (wxSlider
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "maxValue", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->SetMax(arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxSlider
*arg1
= (wxSlider
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "lineSize", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 (arg1
)->SetLineSize(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxSlider
*arg1
= (wxSlider
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "pageSize", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->SetPageSize(arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxSlider
*arg1
= (wxSlider
*) 0 ;
11000 PyObject
* obj0
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= PyInt_FromLong((long)result
);
11021 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxSlider
*arg1
= (wxSlider
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= PyInt_FromLong((long)result
);
11046 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxSlider
*arg1
= (wxSlider
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 char *kwnames
[] = {
11052 (char *) "self",(char *) "lenPixels", NULL
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
11056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->SetThumbLength(arg2
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 Py_INCREF(Py_None
); resultobj
= Py_None
;
11071 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxSlider
*arg1
= (wxSlider
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
11081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= PyInt_FromLong((long)result
);
11096 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxSlider
*arg1
= (wxSlider
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "n",(char *) "pos", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetTickFreq(arg2
,arg3
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 Py_INCREF(Py_None
); resultobj
= Py_None
;
11122 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxSlider
*arg1
= (wxSlider
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= PyInt_FromLong((long)result
);
11147 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxSlider
*arg1
= (wxSlider
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 (arg1
)->ClearTicks();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxSlider
*arg1
= (wxSlider
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "tickPos", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 (arg1
)->SetTick(arg2
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11196 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxSlider
*arg1
= (wxSlider
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->ClearSel();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxSlider
*arg1
= (wxSlider
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= PyInt_FromLong((long)result
);
11245 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxSlider
*arg1
= (wxSlider
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= PyInt_FromLong((long)result
);
11270 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxSlider
*arg1
= (wxSlider
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "min",(char *) "max", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->SetSelection(arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11299 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11301 return Py_BuildValue((char *)"");
11303 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11304 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11309 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11314 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11316 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11323 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxWindow
*arg1
= (wxWindow
*) 0 ;
11327 wxString
*arg3
= 0 ;
11328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11332 long arg6
= (long) 0 ;
11333 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11334 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11335 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11336 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11337 wxToggleButton
*result
;
11338 bool temp3
= False
;
11341 bool temp8
= False
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj2
= 0 ;
11344 PyObject
* obj3
= 0 ;
11345 PyObject
* obj4
= 0 ;
11346 PyObject
* obj6
= 0 ;
11347 PyObject
* obj7
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11355 arg3
= wxString_in_helper(obj2
);
11356 if (arg3
== NULL
) SWIG_fail
;
11362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11372 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 if (arg7
== NULL
) {
11374 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11379 arg8
= wxString_in_helper(obj7
);
11380 if (arg8
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11414 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxToggleButton
*result
;
11417 char *kwnames
[] = {
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (wxToggleButton
*)new wxToggleButton();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11436 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11439 wxWindow
*arg2
= (wxWindow
*) 0 ;
11441 wxString
*arg4
= 0 ;
11442 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11443 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11444 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11445 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11446 long arg7
= (long) 0 ;
11447 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11448 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11449 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11450 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11452 bool temp4
= False
;
11455 bool temp9
= False
;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 PyObject
* obj3
= 0 ;
11459 PyObject
* obj4
= 0 ;
11460 PyObject
* obj5
= 0 ;
11461 PyObject
* obj7
= 0 ;
11462 PyObject
* obj8
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11471 arg4
= wxString_in_helper(obj3
);
11472 if (arg4
== NULL
) SWIG_fail
;
11478 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11484 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11488 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11489 if (arg8
== NULL
) {
11490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11495 arg9
= wxString_in_helper(obj8
);
11496 if (arg9
== NULL
) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= PyInt_FromLong((long)result
);
11530 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "value", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11543 arg2
= (bool) SPyObj_AsBool(obj1
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->SetValue(arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= PyInt_FromLong((long)result
);
11585 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11588 wxString
*arg2
= 0 ;
11589 bool temp2
= False
;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "label", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11599 arg2
= wxString_in_helper(obj1
);
11600 if (arg2
== NULL
) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 (arg1
)->SetLabel((wxString
const &)*arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 Py_INCREF(Py_None
); resultobj
= Py_None
;
11625 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11628 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11630 return Py_BuildValue((char *)"");
11632 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11633 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11638 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11643 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11645 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11652 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
11677 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "n", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11691 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= wxPyMake_wxObject(result
);
11710 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11714 PyObject
* obj0
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= PyInt_FromLong((long)result
);
11735 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11739 wxString
*arg3
= 0 ;
11741 bool temp3
= False
;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self",(char *) "n",(char *) "strText", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11752 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11756 arg3
= wxString_in_helper(obj2
);
11757 if (arg3
== NULL
) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= PyInt_FromLong((long)result
);
11782 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "n", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11796 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11819 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11822 wxImageList
*arg2
= (wxImageList
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "imageList", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->SetImageList(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11849 wxImageList
*arg2
= (wxImageList
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "imageList", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->AssignImageList(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11873 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11876 wxImageList
*result
;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= wxPyMake_wxObject(result
);
11900 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "n", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= PyInt_FromLong((long)result
);
11931 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self",(char *) "n",(char *) "imageId", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11946 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= PyInt_FromLong((long)result
);
11963 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "size", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11978 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 Py_INCREF(Py_None
); resultobj
= Py_None
;
11994 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self",(char *) "sizePage", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 wxSize
* resultptr
;
12021 resultptr
= new wxSize((wxSize
&) result
);
12022 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12030 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "n", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12044 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)(arg1
)->DeletePage(arg2
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= PyInt_FromLong((long)result
);
12061 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "n", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12075 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (bool)(arg1
)->RemovePage(arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= PyInt_FromLong((long)result
);
12092 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)(arg1
)->DeleteAllPages();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyInt_FromLong((long)result
);
12117 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12120 wxWindow
*arg2
= (wxWindow
*) 0 ;
12121 wxString
*arg3
= 0 ;
12122 bool arg4
= (bool) False
;
12123 int arg5
= (int) -1 ;
12125 bool temp3
= False
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 PyObject
* obj3
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12138 arg3
= wxString_in_helper(obj2
);
12139 if (arg3
== NULL
) SWIG_fail
;
12144 arg4
= (bool) SPyObj_AsBool(obj3
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= PyInt_FromLong((long)result
);
12170 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12174 wxWindow
*arg3
= (wxWindow
*) 0 ;
12175 wxString
*arg4
= 0 ;
12176 bool arg5
= (bool) False
;
12177 int arg6
= (int) -1 ;
12179 bool temp4
= False
;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 PyObject
* obj2
= 0 ;
12183 PyObject
* obj3
= 0 ;
12184 PyObject
* obj4
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12192 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12197 arg4
= wxString_in_helper(obj3
);
12198 if (arg4
== NULL
) SWIG_fail
;
12203 arg5
= (bool) SPyObj_AsBool(obj4
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= PyInt_FromLong((long)result
);
12229 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "n", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (int)(arg1
)->SetSelection(arg2
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= PyInt_FromLong((long)result
);
12260 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12263 bool arg2
= (bool) True
;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "forward", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12274 arg2
= (bool) SPyObj_AsBool(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->AdvanceSelection(arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12297 return Py_BuildValue((char *)"");
12299 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12302 int arg2
= (int) 0 ;
12303 int arg3
= (int) -1 ;
12304 int arg4
= (int) -1 ;
12305 wxBookCtrlEvent
*result
;
12306 char *kwnames
[] = {
12307 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12325 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= PyInt_FromLong((long)result
);
12350 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "nSel", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetSelection(arg2
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12375 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyInt_FromLong((long)result
);
12400 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "nOldSel", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->SetOldSelection(arg2
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12428 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12430 return Py_BuildValue((char *)"");
12432 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxWindow
*arg1
= (wxWindow
*) 0 ;
12436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12440 long arg5
= (long) 0 ;
12441 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12443 wxNotebook
*result
;
12446 bool temp6
= False
;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj2
= 0 ;
12449 PyObject
* obj3
= 0 ;
12450 PyObject
* obj5
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12466 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12471 arg6
= wxString_in_helper(obj5
);
12472 if (arg6
== NULL
) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= wxPyMake_wxObject(result
);
12500 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxNotebook
*result
;
12503 char *kwnames
[] = {
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (wxNotebook
*)new wxNotebook();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= wxPyMake_wxObject(result
);
12524 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12527 wxWindow
*arg2
= (wxWindow
*) 0 ;
12529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12533 long arg6
= (long) 0 ;
12534 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12539 bool temp7
= False
;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 PyObject
* obj3
= 0 ;
12543 PyObject
* obj4
= 0 ;
12544 PyObject
* obj6
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12566 arg7
= wxString_in_helper(obj6
);
12567 if (arg7
== NULL
) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyInt_FromLong((long)result
);
12593 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= PyInt_FromLong((long)result
);
12618 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "padding", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12633 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 Py_INCREF(Py_None
); resultobj
= Py_None
;
12649 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "sz", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 Py_INCREF(Py_None
); resultobj
= Py_None
;
12680 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12683 wxPoint
*arg2
= 0 ;
12684 long *arg3
= (long *) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "pt", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= PyInt_FromLong((long)result
);
12710 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12711 resultobj
= t_output_helper(resultobj
,o
);
12719 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "sizePage", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12735 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 wxSize
* resultptr
;
12746 resultptr
= new wxSize((wxSize
&) result
);
12747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12755 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12758 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12760 return Py_BuildValue((char *)"");
12762 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12765 int arg2
= (int) 0 ;
12766 int arg3
= (int) -1 ;
12767 int arg4
= (int) -1 ;
12768 wxNotebookEvent
*result
;
12769 char *kwnames
[] = {
12770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12788 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12791 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12793 return Py_BuildValue((char *)"");
12795 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxWindow
*arg1
= (wxWindow
*) 0 ;
12799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12803 long arg5
= (long) 0 ;
12804 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12805 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12806 wxListbook
*result
;
12809 bool temp6
= False
;
12810 PyObject
* obj0
= 0 ;
12811 PyObject
* obj2
= 0 ;
12812 PyObject
* obj3
= 0 ;
12813 PyObject
* obj5
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12834 arg6
= wxString_in_helper(obj5
);
12835 if (arg6
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12861 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxListbook
*result
;
12864 char *kwnames
[] = {
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxListbook
*)new wxListbook();
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12883 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxListbook
*arg1
= (wxListbook
*) 0 ;
12886 wxWindow
*arg2
= (wxWindow
*) 0 ;
12888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12892 long arg6
= (long) 0 ;
12893 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12894 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12898 bool temp7
= False
;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 PyObject
* obj3
= 0 ;
12902 PyObject
* obj4
= 0 ;
12903 PyObject
* obj6
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12914 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12920 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12925 arg7
= wxString_in_helper(obj6
);
12926 if (arg7
== NULL
) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= PyInt_FromLong((long)result
);
12952 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxListbook
*arg1
= (wxListbook
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= PyInt_FromLong((long)result
);
12977 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12980 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12982 return Py_BuildValue((char *)"");
12984 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12987 int arg2
= (int) 0 ;
12988 int arg3
= (int) -1 ;
12989 int arg4
= (int) -1 ;
12990 wxListbookEvent
*result
;
12991 char *kwnames
[] = {
12992 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
13010 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13013 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
13015 return Py_BuildValue((char *)"");
13017 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13020 wxBookCtrlSizer
*result
;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "nb", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
13042 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->RecalcSizes();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (arg1
)->CalcMin();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 wxSize
* resultptr
;
13086 resultptr
= new wxSize((wxSize
&) result
);
13087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13095 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13098 wxBookCtrl
*result
;
13099 PyObject
* obj0
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (wxBookCtrl
*)(arg1
)->GetControl();
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
13120 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13123 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
13125 return Py_BuildValue((char *)"");
13127 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13130 wxNotebookSizer
*result
;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "nb", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
13152 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 (arg1
)->RecalcSizes();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->CalcMin();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 wxSize
* resultptr
;
13196 resultptr
= new wxSize((wxSize
&) result
);
13197 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13205 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13208 wxNotebook
*result
;
13209 PyObject
* obj0
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= wxPyMake_wxObject(result
);
13232 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13235 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13237 return Py_BuildValue((char *)"");
13239 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (int)(arg1
)->GetId();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= PyInt_FromLong((long)result
);
13264 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13268 PyObject
* obj0
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (wxControl
*)(arg1
)->GetControl();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= wxPyMake_wxObject(result
);
13291 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13294 wxToolBarBase
*result
;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= wxPyMake_wxObject(result
);
13318 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (int)(arg1
)->IsButton();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= PyInt_FromLong((long)result
);
13343 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (int)(arg1
)->IsControl();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= PyInt_FromLong((long)result
);
13368 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (int)(arg1
)->IsSeparator();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= PyInt_FromLong((long)result
);
13393 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (int)(arg1
)->GetStyle();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= PyInt_FromLong((long)result
);
13418 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (int)(arg1
)->GetKind();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= PyInt_FromLong((long)result
);
13443 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (bool)(arg1
)->IsEnabled();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= PyInt_FromLong((long)result
);
13468 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)(arg1
)->IsToggled();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= PyInt_FromLong((long)result
);
13493 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (bool)(arg1
)->CanBeToggled();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= PyInt_FromLong((long)result
);
13518 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13533 result
= (wxBitmap
*) &_result_ref
;
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13546 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13550 PyObject
* obj0
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13561 result
= (wxBitmap
*) &_result_ref
;
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13574 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (arg1
)->GetBitmap();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 wxBitmap
* resultptr
;
13594 resultptr
= new wxBitmap((wxBitmap
&) result
);
13595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13603 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (arg1
)->GetLabel();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13634 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (arg1
)->GetShortHelp();
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13665 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (arg1
)->GetLongHelp();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13696 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "enable", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13710 arg2
= (bool) SPyObj_AsBool(obj1
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (bool)(arg1
)->Enable(arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= PyInt_FromLong((long)result
);
13727 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13751 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "toggle", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13765 arg2
= (bool) SPyObj_AsBool(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (bool)(arg1
)->SetToggle(arg2
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= PyInt_FromLong((long)result
);
13782 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13785 wxString
*arg2
= 0 ;
13787 bool temp2
= False
;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self",(char *) "help", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13797 arg2
= wxString_in_helper(obj1
);
13798 if (arg2
== NULL
) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= PyInt_FromLong((long)result
);
13823 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13826 wxString
*arg2
= 0 ;
13828 bool temp2
= False
;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self",(char *) "help", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13838 arg2
= wxString_in_helper(obj1
);
13839 if (arg2
== NULL
) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyInt_FromLong((long)result
);
13864 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13867 wxBitmap
*arg2
= 0 ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self",(char *) "bmp", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13876 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13877 if (arg2
== NULL
) {
13878 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 Py_INCREF(Py_None
); resultobj
= Py_None
;
13894 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13897 wxBitmap
*arg2
= 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self",(char *) "bmp", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13907 if (arg2
== NULL
) {
13908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13927 wxString
*arg2
= 0 ;
13928 bool temp2
= False
;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self",(char *) "label", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 arg2
= wxString_in_helper(obj1
);
13939 if (arg2
== NULL
) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 (arg1
)->SetLabel((wxString
const &)*arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 Py_INCREF(Py_None
); resultobj
= Py_None
;
13964 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13967 PyObject
* obj0
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13991 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "tbar", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->Attach(arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
;
14040 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14043 PyObject
*arg2
= (PyObject
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "clientData", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 wxToolBarToolBase_SetClientData(arg1
,arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
14069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
14072 return Py_BuildValue((char *)"");
14074 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14078 wxString
*arg3
= 0 ;
14079 wxBitmap
*arg4
= 0 ;
14080 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
14081 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
14082 int arg6
= (int) wxITEM_NORMAL
;
14083 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14085 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14086 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14087 PyObject
*arg9
= (PyObject
*) NULL
;
14088 wxToolBarToolBase
*result
;
14089 bool temp3
= False
;
14090 bool temp7
= False
;
14091 bool temp8
= False
;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj2
= 0 ;
14094 PyObject
* obj3
= 0 ;
14095 PyObject
* obj4
= 0 ;
14096 PyObject
* obj6
= 0 ;
14097 PyObject
* obj7
= 0 ;
14098 PyObject
* obj8
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 arg3
= wxString_in_helper(obj2
);
14107 if (arg3
== NULL
) SWIG_fail
;
14110 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14111 if (arg4
== NULL
) {
14112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14115 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 if (arg5
== NULL
) {
14117 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14122 arg7
= wxString_in_helper(obj6
);
14123 if (arg7
== NULL
) SWIG_fail
;
14129 arg8
= wxString_in_helper(obj7
);
14130 if (arg8
== NULL
) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= wxPyMake_wxObject(result
);
14177 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14182 wxString
*arg4
= 0 ;
14183 wxBitmap
*arg5
= 0 ;
14184 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
14185 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
14186 int arg7
= (int) wxITEM_NORMAL
;
14187 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14189 wxString
const &arg9_defvalue
= wxPyEmptyString
;
14190 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14191 PyObject
*arg10
= (PyObject
*) NULL
;
14192 wxToolBarToolBase
*result
;
14193 bool temp4
= False
;
14194 bool temp8
= False
;
14195 bool temp9
= False
;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj3
= 0 ;
14199 PyObject
* obj4
= 0 ;
14200 PyObject
* obj5
= 0 ;
14201 PyObject
* obj7
= 0 ;
14202 PyObject
* obj8
= 0 ;
14203 PyObject
* obj9
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14211 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 arg4
= wxString_in_helper(obj3
);
14216 if (arg4
== NULL
) SWIG_fail
;
14219 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 if (arg5
== NULL
) {
14221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14224 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14225 if (arg6
== NULL
) {
14226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14231 arg8
= wxString_in_helper(obj7
);
14232 if (arg8
== NULL
) SWIG_fail
;
14238 arg9
= wxString_in_helper(obj8
);
14239 if (arg9
== NULL
) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 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
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= wxPyMake_wxObject(result
);
14286 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14289 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14290 wxToolBarToolBase
*result
;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "tool", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= wxPyMake_wxObject(result
);
14316 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14320 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14321 wxToolBarToolBase
*result
;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 PyObject
* obj2
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "pos",(char *) "tool", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14332 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= wxPyMake_wxObject(result
);
14352 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14355 wxControl
*arg2
= (wxControl
*) 0 ;
14356 wxToolBarToolBase
*result
;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "control", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= wxPyMake_wxObject(result
);
14382 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14386 wxControl
*arg3
= (wxControl
*) 0 ;
14387 wxToolBarToolBase
*result
;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "pos",(char *) "control", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14398 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= wxPyMake_wxObject(result
);
14418 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "id", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= wxPyMake_wxObject(result
);
14446 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14449 wxToolBarToolBase
*result
;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= wxPyMake_wxObject(result
);
14473 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14477 wxToolBarToolBase
*result
;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "pos", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14487 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= wxPyMake_wxObject(result
);
14506 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14510 wxToolBarToolBase
*result
;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "id", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= wxPyMake_wxObject(result
);
14534 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self",(char *) "pos", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= PyInt_FromLong((long)result
);
14565 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self",(char *) "id", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (bool)(arg1
)->DeleteTool(arg2
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= PyInt_FromLong((long)result
);
14591 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 (arg1
)->ClearTools();
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)(arg1
)->Realize();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= PyInt_FromLong((long)result
);
14640 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj2
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "id",(char *) "enable", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14654 arg3
= (bool) SPyObj_AsBool(obj2
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->EnableTool(arg2
,arg3
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj2
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self",(char *) "id",(char *) "toggle", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14685 arg3
= (bool) SPyObj_AsBool(obj2
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 (arg1
)->ToggleTool(arg2
,arg3
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 Py_INCREF(Py_None
); resultobj
= Py_None
;
14702 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj2
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "id",(char *) "toggle", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 arg3
= (bool) SPyObj_AsBool(obj2
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->SetToggle(arg2
,arg3
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self",(char *) "id", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= result
;
14759 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14763 PyObject
*arg3
= (PyObject
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj2
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "id",(char *) "clientData", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 Py_INCREF(Py_None
); resultobj
= Py_None
;
14787 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "id", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= PyInt_FromLong((long)result
);
14813 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self",(char *) "id", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (bool)(arg1
)->GetToolState(arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= PyInt_FromLong((long)result
);
14839 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "id", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= PyInt_FromLong((long)result
);
14865 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14869 wxString
*arg3
= 0 ;
14870 bool temp3
= False
;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "id",(char *) "helpString", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14880 arg3
= wxString_in_helper(obj2
);
14881 if (arg3
== NULL
) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 Py_INCREF(Py_None
); resultobj
= Py_None
;
14906 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "id", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (arg1
)->GetToolShortHelp(arg2
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14938 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14942 wxString
*arg3
= 0 ;
14943 bool temp3
= False
;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj2
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "id",(char *) "helpString", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14953 arg3
= wxString_in_helper(obj2
);
14954 if (arg3
== NULL
) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 Py_INCREF(Py_None
); resultobj
= Py_None
;
14979 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "id", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (arg1
)->GetToolLongHelp(arg2
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15011 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self",(char *) "x",(char *) "y", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->SetMargins(arg2
,arg3
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15037 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "size", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15052 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 (arg1
)->SetMargins((wxSize
const &)*arg2
);
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 Py_INCREF(Py_None
); resultobj
= Py_None
;
15068 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self",(char *) "packing", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->SetToolPacking(arg2
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15093 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "separation", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetToolSeparation(arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (arg1
)->GetToolMargins();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 wxSize
* resultptr
;
15138 resultptr
= new wxSize((wxSize
&) result
);
15139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15147 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (arg1
)->GetMargins();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 wxSize
* resultptr
;
15167 resultptr
= new wxSize((wxSize
&) result
);
15168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15176 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (int)(arg1
)->GetToolPacking();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= PyInt_FromLong((long)result
);
15201 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (int)(arg1
)->GetToolSeparation();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= PyInt_FromLong((long)result
);
15226 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "nRows", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->SetRows(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "rows",(char *) "cols", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 Py_INCREF(Py_None
); resultobj
= Py_None
;
15277 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)(arg1
)->GetMaxRows();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= PyInt_FromLong((long)result
);
15302 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (int)(arg1
)->GetMaxCols();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= PyInt_FromLong((long)result
);
15327 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "size", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (arg1
)->GetToolBitmapSize();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 wxSize
* resultptr
;
15378 resultptr
= new wxSize((wxSize
&) result
);
15379 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15387 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (arg1
)->GetToolSize();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15406 wxSize
* resultptr
;
15407 resultptr
= new wxSize((wxSize
&) result
);
15408 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15416 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15421 wxToolBarToolBase
*result
;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "x",(char *) "y", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= wxPyMake_wxObject(result
);
15445 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15449 wxToolBarToolBase
*result
;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "toolid", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= wxPyMake_wxObject(result
);
15473 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)(arg1
)->IsVertical();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= PyInt_FromLong((long)result
);
15498 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15501 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15503 return Py_BuildValue((char *)"");
15505 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxWindow
*arg1
= (wxWindow
*) 0 ;
15509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15513 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15514 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15519 bool temp6
= False
;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 PyObject
* obj3
= 0 ;
15523 PyObject
* obj5
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15544 arg6
= wxString_in_helper(obj5
);
15545 if (arg6
== NULL
) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= wxPyMake_wxObject(result
);
15573 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15576 char *kwnames
[] = {
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (wxToolBar
*)new wxToolBar();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= wxPyMake_wxObject(result
);
15597 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15600 wxWindow
*arg2
= (wxWindow
*) 0 ;
15602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15606 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15607 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15612 bool temp7
= False
;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 PyObject
* obj3
= 0 ;
15616 PyObject
* obj4
= 0 ;
15617 PyObject
* obj6
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15639 arg7
= wxString_in_helper(obj6
);
15640 if (arg7
== NULL
) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= PyInt_FromLong((long)result
);
15666 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15671 wxToolBarToolBase
*result
;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self",(char *) "x",(char *) "y", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= wxPyMake_wxObject(result
);
15695 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15698 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15700 return Py_BuildValue((char *)"");
15702 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15703 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15708 static PyObject
*_wrap_ListCtrlNameStr_get() {
15713 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15715 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15722 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxColour
const &arg1_defvalue
= wxNullColour
;
15725 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15726 wxColour
const &arg2_defvalue
= wxNullColour
;
15727 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15728 wxFont
const &arg3_defvalue
= wxNullFont
;
15729 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15730 wxListItemAttr
*result
;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 PyObject
* obj2
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15744 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15754 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15755 if (arg3
== NULL
) {
15756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15773 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15776 wxColour
*arg2
= 0 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "colText", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15788 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 Py_INCREF(Py_None
); resultobj
= Py_None
;
15804 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15807 wxColour
*arg2
= 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self",(char *) "colBack", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "font", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15848 if (arg2
== NULL
) {
15849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->SetFont((wxFont
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (bool)(arg1
)->HasTextColour();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= PyInt_FromLong((long)result
);
15890 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (bool)(arg1
)->HasBackgroundColour();
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= PyInt_FromLong((long)result
);
15915 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= (bool)(arg1
)->HasFont();
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= PyInt_FromLong((long)result
);
15940 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (arg1
)->GetTextColour();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 wxColour
* resultptr
;
15960 resultptr
= new wxColour((wxColour
&) result
);
15961 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15969 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (arg1
)->GetBackgroundColour();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 wxColour
* resultptr
;
15989 resultptr
= new wxColour((wxColour
&) result
);
15990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15998 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16002 PyObject
* obj0
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
16008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (arg1
)->GetFont();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 wxFont
* resultptr
;
16018 resultptr
= new wxFont((wxFont
&) result
);
16019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16027 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 wxListItemAttr_Destroy(arg1
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 Py_INCREF(Py_None
); resultobj
= Py_None
;
16051 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
16053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16054 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
16056 return Py_BuildValue((char *)"");
16058 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxListItem
*result
;
16061 char *kwnames
[] = {
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (wxListItem
*)new wxListItem();
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= wxPyMake_wxObject(result
);
16082 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxListItem
*arg1
= (wxListItem
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxListItem
*arg1
= (wxListItem
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
16115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 Py_INCREF(Py_None
); resultobj
= Py_None
;
16130 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxListItem
*arg1
= (wxListItem
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 (arg1
)->ClearAttributes();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16154 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxListItem
*arg1
= (wxListItem
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "mask", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 (arg1
)->SetMask(arg2
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 Py_INCREF(Py_None
); resultobj
= Py_None
;
16179 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxListItem
*arg1
= (wxListItem
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "id", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 (arg1
)->SetId(arg2
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 Py_INCREF(Py_None
); resultobj
= Py_None
;
16204 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxListItem
*arg1
= (wxListItem
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self",(char *) "col", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 (arg1
)->SetColumn(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 Py_INCREF(Py_None
); resultobj
= Py_None
;
16229 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxListItem
*arg1
= (wxListItem
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self",(char *) "state", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 (arg1
)->SetState(arg2
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 Py_INCREF(Py_None
); resultobj
= Py_None
;
16254 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxListItem
*arg1
= (wxListItem
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "stateMask", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 (arg1
)->SetStateMask(arg2
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 Py_INCREF(Py_None
); resultobj
= Py_None
;
16279 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxListItem
*arg1
= (wxListItem
*) 0 ;
16282 wxString
*arg2
= 0 ;
16283 bool temp2
= False
;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self",(char *) "text", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16293 arg2
= wxString_in_helper(obj1
);
16294 if (arg2
== NULL
) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 (arg1
)->SetText((wxString
const &)*arg2
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16319 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxListItem
*arg1
= (wxListItem
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "image", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 (arg1
)->SetImage(arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxListItem
*arg1
= (wxListItem
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "data", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 (arg1
)->SetData(arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxListItem
*arg1
= (wxListItem
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "width", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->SetWidth(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxListItem
*arg1
= (wxListItem
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "align", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 Py_INCREF(Py_None
); resultobj
= Py_None
;
16419 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxListItem
*arg1
= (wxListItem
*) 0 ;
16422 wxColour
*arg2
= 0 ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "colText", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 Py_INCREF(Py_None
); resultobj
= Py_None
;
16450 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxListItem
*arg1
= (wxListItem
*) 0 ;
16453 wxColour
*arg2
= 0 ;
16455 PyObject
* obj0
= 0 ;
16456 PyObject
* obj1
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self",(char *) "colBack", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxListItem
*arg1
= (wxListItem
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "font", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16494 if (arg2
== NULL
) {
16495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetFont((wxFont
const &)*arg2
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 Py_INCREF(Py_None
); resultobj
= Py_None
;
16511 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxListItem
*arg1
= (wxListItem
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (long)(arg1
)->GetMask();
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= PyInt_FromLong((long)result
);
16536 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxListItem
*arg1
= (wxListItem
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (long)(arg1
)->GetId();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= PyInt_FromLong((long)result
);
16561 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxListItem
*arg1
= (wxListItem
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (int)(arg1
)->GetColumn();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= PyInt_FromLong((long)result
);
16586 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxListItem
*arg1
= (wxListItem
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (long)(arg1
)->GetState();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= PyInt_FromLong((long)result
);
16611 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxListItem
*arg1
= (wxListItem
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 wxString
const &_result_ref
= (arg1
)->GetText();
16626 result
= (wxString
*) &_result_ref
;
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16645 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxListItem
*arg1
= (wxListItem
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (int)(arg1
)->GetImage();
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= PyInt_FromLong((long)result
);
16670 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxListItem
*arg1
= (wxListItem
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (long)(arg1
)->GetData();
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= PyInt_FromLong((long)result
);
16695 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxListItem
*arg1
= (wxListItem
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (int)(arg1
)->GetWidth();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= PyInt_FromLong((long)result
);
16720 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxListItem
*arg1
= (wxListItem
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (int)(arg1
)->GetAlign();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= PyInt_FromLong((long)result
);
16745 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxListItem
*arg1
= (wxListItem
*) 0 ;
16748 wxListItemAttr
*result
;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16770 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxListItem
*arg1
= (wxListItem
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (bool)(arg1
)->HasAttributes();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= PyInt_FromLong((long)result
);
16795 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxListItem
*arg1
= (wxListItem
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 wxColour
* resultptr
;
16815 resultptr
= new wxColour((wxColour
&) result
);
16816 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16824 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxListItem
*arg1
= (wxListItem
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 wxColour
* resultptr
;
16844 resultptr
= new wxColour((wxColour
&) result
);
16845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16853 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxListItem
*arg1
= (wxListItem
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= ((wxListItem
const *)arg1
)->GetFont();
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 wxFont
* resultptr
;
16873 resultptr
= new wxFont((wxFont
&) result
);
16874 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16882 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxListItem
*arg1
= (wxListItem
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "m_mask", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16893 if (arg1
) (arg1
)->m_mask
= arg2
;
16895 Py_INCREF(Py_None
); resultobj
= Py_None
;
16902 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxListItem
*arg1
= (wxListItem
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16913 result
= (long) ((arg1
)->m_mask
);
16915 resultobj
= PyInt_FromLong((long)result
);
16922 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxListItem
*arg1
= (wxListItem
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self",(char *) "m_itemId", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16933 if (arg1
) (arg1
)->m_itemId
= arg2
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxListItem
*arg1
= (wxListItem
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16953 result
= (long) ((arg1
)->m_itemId
);
16955 resultobj
= PyInt_FromLong((long)result
);
16962 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxListItem
*arg1
= (wxListItem
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "m_col", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16973 if (arg1
) (arg1
)->m_col
= arg2
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxListItem
*arg1
= (wxListItem
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 result
= (int) ((arg1
)->m_col
);
16995 resultobj
= PyInt_FromLong((long)result
);
17002 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxListItem
*arg1
= (wxListItem
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "m_state", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 if (arg1
) (arg1
)->m_state
= arg2
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxListItem
*arg1
= (wxListItem
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17033 result
= (long) ((arg1
)->m_state
);
17035 resultobj
= PyInt_FromLong((long)result
);
17042 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxListItem
*arg1
= (wxListItem
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self",(char *) "m_stateMask", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17053 if (arg1
) (arg1
)->m_stateMask
= arg2
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxListItem
*arg1
= (wxListItem
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17073 result
= (long) ((arg1
)->m_stateMask
);
17075 resultobj
= PyInt_FromLong((long)result
);
17082 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxListItem
*arg1
= (wxListItem
*) 0 ;
17085 wxString
*arg2
= (wxString
*) 0 ;
17086 bool temp2
= False
;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "m_text", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17096 arg2
= wxString_in_helper(obj1
);
17097 if (arg2
== NULL
) SWIG_fail
;
17100 if (arg1
) (arg1
)->m_text
= *arg2
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxListItem
*arg1
= (wxListItem
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17128 result
= (wxString
*)& ((arg1
)->m_text
);
17132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17143 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxListItem
*arg1
= (wxListItem
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "m_image", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17154 if (arg1
) (arg1
)->m_image
= arg2
;
17156 Py_INCREF(Py_None
); resultobj
= Py_None
;
17163 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxListItem
*arg1
= (wxListItem
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17174 result
= (int) ((arg1
)->m_image
);
17176 resultobj
= PyInt_FromLong((long)result
);
17183 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxListItem
*arg1
= (wxListItem
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "m_data", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17194 if (arg1
) (arg1
)->m_data
= arg2
;
17196 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxListItem
*arg1
= (wxListItem
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 result
= (long) ((arg1
)->m_data
);
17216 resultobj
= PyInt_FromLong((long)result
);
17223 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxListItem
*arg1
= (wxListItem
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self",(char *) "m_format", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17234 if (arg1
) (arg1
)->m_format
= arg2
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxListItem
*arg1
= (wxListItem
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 result
= (int) ((arg1
)->m_format
);
17256 resultobj
= PyInt_FromLong((long)result
);
17263 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxListItem
*arg1
= (wxListItem
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "m_width", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 if (arg1
) (arg1
)->m_width
= arg2
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxListItem
*arg1
= (wxListItem
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17294 result
= (int) ((arg1
)->m_width
);
17296 resultobj
= PyInt_FromLong((long)result
);
17303 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17306 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17308 return Py_BuildValue((char *)"");
17310 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17313 int arg2
= (int) 0 ;
17314 wxListEvent
*result
;
17315 char *kwnames
[] = {
17316 (char *) "commandType",(char *) "id", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17334 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "m_code", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17345 if (arg1
) (arg1
)->m_code
= arg2
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17365 result
= (int) ((arg1
)->m_code
);
17367 resultobj
= PyInt_FromLong((long)result
);
17374 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "m_oldItemIndex", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17405 result
= (long) ((arg1
)->m_oldItemIndex
);
17407 resultobj
= PyInt_FromLong((long)result
);
17414 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "m_itemIndex", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17425 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17445 result
= (long) ((arg1
)->m_itemIndex
);
17447 resultobj
= PyInt_FromLong((long)result
);
17454 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self",(char *) "m_col", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17465 if (arg1
) (arg1
)->m_col
= arg2
;
17467 Py_INCREF(Py_None
); resultobj
= Py_None
;
17474 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17485 result
= (int) ((arg1
)->m_col
);
17487 resultobj
= PyInt_FromLong((long)result
);
17494 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17497 wxPoint
*arg2
= (wxPoint
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "m_pointDrag", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17507 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17509 Py_INCREF(Py_None
); resultobj
= Py_None
;
17516 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17527 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17536 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17539 wxListItem
*result
;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17547 result
= (wxListItem
*)& ((arg1
)->m_item
);
17550 resultobj
= wxPyMake_wxObject(result
);
17558 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (int)(arg1
)->GetKeyCode();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= PyInt_FromLong((long)result
);
17583 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (long)(arg1
)->GetIndex();
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= PyInt_FromLong((long)result
);
17608 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (int)(arg1
)->GetColumn();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= PyInt_FromLong((long)result
);
17633 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (arg1
)->GetPoint();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 wxPoint
* resultptr
;
17653 resultptr
= new wxPoint((wxPoint
&) result
);
17654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17662 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 wxString
const &_result_ref
= (arg1
)->GetLabel();
17677 result
= (wxString
*) &_result_ref
;
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17687 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17696 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 wxString
const &_result_ref
= (arg1
)->GetText();
17711 result
= (wxString
*) &_result_ref
;
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17730 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (int)(arg1
)->GetImage();
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= PyInt_FromLong((long)result
);
17755 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (long)(arg1
)->GetData();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= PyInt_FromLong((long)result
);
17780 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (long)(arg1
)->GetMask();
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= PyInt_FromLong((long)result
);
17805 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17808 wxListItem
*result
;
17809 PyObject
* obj0
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17820 result
= (wxListItem
*) &_result_ref
;
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17833 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (long)(arg1
)->GetCacheFrom();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= PyInt_FromLong((long)result
);
17858 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 result
= (long)(arg1
)->GetCacheTo();
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= PyInt_FromLong((long)result
);
17883 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= PyInt_FromLong((long)result
);
17908 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "editCancelled", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17921 arg2
= (bool) SPyObj_AsBool(obj1
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->SetEditCanceled(arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17941 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17943 return Py_BuildValue((char *)"");
17945 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxWindow
*arg1
= (wxWindow
*) 0 ;
17948 int arg2
= (int) -1 ;
17949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17953 long arg5
= (long) wxLC_ICON
;
17954 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17955 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17956 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17958 wxPyListCtrl
*result
;
17961 bool temp7
= False
;
17962 PyObject
* obj0
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 PyObject
* obj3
= 0 ;
17965 PyObject
* obj5
= 0 ;
17966 PyObject
* obj6
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17986 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 if (arg6
== NULL
) {
17988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17993 arg7
= wxString_in_helper(obj6
);
17994 if (arg7
== NULL
) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18020 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxPyListCtrl
*result
;
18023 char *kwnames
[] = {
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (wxPyListCtrl
*)new wxPyListCtrl();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18042 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18045 wxWindow
*arg2
= (wxWindow
*) 0 ;
18046 int arg3
= (int) -1 ;
18047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18051 long arg6
= (long) wxLC_ICON
;
18052 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18053 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18054 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
18055 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18059 bool temp8
= False
;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 PyObject
* obj4
= 0 ;
18064 PyObject
* obj6
= 0 ;
18065 PyObject
* obj7
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18086 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18087 if (arg7
== NULL
) {
18088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18093 arg8
= wxString_in_helper(obj7
);
18094 if (arg8
== NULL
) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyInt_FromLong((long)result
);
18120 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18123 PyObject
*arg2
= (PyObject
*) 0 ;
18124 PyObject
*arg3
= (PyObject
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 PyObject
* obj2
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "self",(char *) "_class", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18153 wxColour
*arg2
= 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self",(char *) "col", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= PyInt_FromLong((long)result
);
18182 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18185 wxColour
*arg2
= 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "col", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= PyInt_FromLong((long)result
);
18214 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18218 wxListItem
*result
;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "col", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= wxPyMake_wxObject(result
);
18242 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18246 wxListItem
*arg3
= 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj2
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self",(char *) "col",(char *) "item", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18256 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18257 if (arg3
== NULL
) {
18258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= PyInt_FromLong((long)result
);
18274 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self",(char *) "col", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= PyInt_FromLong((long)result
);
18300 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "col",(char *) "width", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= PyInt_FromLong((long)result
);
18327 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= PyInt_FromLong((long)result
);
18352 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 wxRect
* resultptr
;
18372 resultptr
= new wxRect((wxRect
&) result
);
18373 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18381 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18385 int arg3
= (int) 0 ;
18386 wxListItem
*result
;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self",(char *) "itemId",(char *) "col", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= wxPyMake_wxObject(result
);
18410 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18413 wxListItem
*arg2
= 0 ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self",(char *) "info", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18424 if (arg2
== NULL
) {
18425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 result
= (bool)(arg1
)->SetItem(*arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= PyInt_FromLong((long)result
);
18441 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18446 wxString
*arg4
= 0 ;
18447 int arg5
= (int) -1 ;
18449 bool temp4
= False
;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj3
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18459 arg4
= wxString_in_helper(obj3
);
18460 if (arg4
== NULL
) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= PyInt_FromLong((long)result
);
18485 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= PyInt_FromLong((long)result
);
18512 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= PyInt_FromLong((long)result
);
18540 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= PyInt_FromLong((long)result
);
18568 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "item", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18600 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18604 wxString
*arg3
= 0 ;
18605 bool temp3
= False
;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "item",(char *) "str", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18615 arg3
= wxString_in_helper(obj2
);
18616 if (arg3
== NULL
) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 Py_INCREF(Py_None
); resultobj
= Py_None
;
18641 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "item", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyInt_FromLong((long)result
);
18667 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "item",(char *) "data", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= PyInt_FromLong((long)result
);
18694 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "item", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 wxPoint
* resultptr
;
18715 resultptr
= new wxPoint((wxPoint
&) result
);
18716 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18724 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18728 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self",(char *) "item",(char *) "code", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 wxRect
* resultptr
;
18746 resultptr
= new wxRect((wxRect
&) result
);
18747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18755 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18759 wxPoint
*arg3
= 0 ;
18762 PyObject
* obj0
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self",(char *) "item",(char *) "pos", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= PyInt_FromLong((long)result
);
18788 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= PyInt_FromLong((long)result
);
18813 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= PyInt_FromLong((long)result
);
18838 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 wxSize
* resultptr
;
18858 resultptr
= new wxSize((wxSize
&) result
);
18859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18867 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18871 bool arg3
= (bool) False
;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj2
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18882 arg3
= (bool) SPyObj_AsBool(obj2
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->SetItemSpacing(arg2
,arg3
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18900 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= PyInt_FromLong((long)result
);
18925 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18944 wxColour
* resultptr
;
18945 resultptr
= new wxColour((wxColour
&) result
);
18946 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18954 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18957 wxColour
*arg2
= 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "col", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= PyInt_FromLong((long)result
);
19010 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19014 bool arg3
= (bool) True
;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj2
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self",(char *) "style",(char *) "add", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19025 arg3
= (bool) SPyObj_AsBool(obj2
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->SetSingleStyle(arg2
,arg3
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "style", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetWindowStyleFlag(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19072 int arg3
= (int) wxLIST_NEXT_ALL
;
19073 int arg4
= (int) wxLIST_STATE_DONTCARE
;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= PyInt_FromLong((long)result
);
19096 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19100 wxImageList
*result
;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "which", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= wxPyMake_wxObject(result
);
19124 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19127 wxImageList
*arg2
= (wxImageList
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "imageList",(char *) "which", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->SetImageList(arg2
,arg3
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 Py_INCREF(Py_None
); resultobj
= Py_None
;
19152 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19155 wxImageList
*arg2
= (wxImageList
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "imageList",(char *) "which", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->AssignImageList(arg2
,arg3
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= PyInt_FromLong((long)result
);
19205 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self",(char *) "item", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 (arg1
)->RefreshItem(arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 Py_INCREF(Py_None
); resultobj
= Py_None
;
19230 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->RefreshItems(arg2
,arg3
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19259 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "flag", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)(arg1
)->Arrange(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= PyInt_FromLong((long)result
);
19282 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "item", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (bool)(arg1
)->DeleteItem(arg2
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= PyInt_FromLong((long)result
);
19308 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (bool)(arg1
)->DeleteAllItems();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= PyInt_FromLong((long)result
);
19333 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "col", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= PyInt_FromLong((long)result
);
19359 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (bool)(arg1
)->DeleteAllColumns();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= PyInt_FromLong((long)result
);
19384 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->ClearAll();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "item", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->EditLabel(arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 Py_INCREF(Py_None
); resultobj
= Py_None
;
19433 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self",(char *) "item", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= PyInt_FromLong((long)result
);
19459 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19463 wxString
*arg3
= 0 ;
19464 bool arg4
= (bool) False
;
19466 bool temp3
= False
;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj2
= 0 ;
19469 PyObject
* obj3
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19477 arg3
= wxString_in_helper(obj2
);
19478 if (arg3
== NULL
) SWIG_fail
;
19483 arg4
= (bool) SPyObj_AsBool(obj3
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= PyInt_FromLong((long)result
);
19509 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "start",(char *) "data", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= PyInt_FromLong((long)result
);
19536 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19540 wxPoint
*arg3
= 0 ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj2
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= PyInt_FromLong((long)result
);
19570 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19573 wxPoint
*arg2
= 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "point", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= PyInt_FromLong((long)result
);
19600 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19601 resultobj
= t_output_helper(resultobj
,o
);
19609 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19612 wxListItem
*arg2
= 0 ;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self",(char *) "info", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19623 if (arg2
== NULL
) {
19624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (long)(arg1
)->InsertItem(*arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= PyInt_FromLong((long)result
);
19640 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19644 wxString
*arg3
= 0 ;
19646 bool temp3
= False
;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj2
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self",(char *) "index",(char *) "label", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19656 arg3
= wxString_in_helper(obj2
);
19657 if (arg3
== NULL
) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= PyInt_FromLong((long)result
);
19682 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= PyInt_FromLong((long)result
);
19709 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19713 wxString
*arg3
= 0 ;
19716 bool temp3
= False
;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj2
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19726 arg3
= wxString_in_helper(obj2
);
19727 if (arg3
== NULL
) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= PyInt_FromLong((long)result
);
19752 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19756 wxListItem
*arg3
= 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj2
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self",(char *) "col",(char *) "info", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19767 if (arg3
== NULL
) {
19768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= PyInt_FromLong((long)result
);
19784 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19788 wxString
*arg3
= 0 ;
19789 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19790 int arg5
= (int) -1 ;
19792 bool temp3
= False
;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj2
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19802 arg3
= wxString_in_helper(obj2
);
19803 if (arg3
== NULL
) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= PyInt_FromLong((long)result
);
19828 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self",(char *) "count", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 (arg1
)->SetItemCount(arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "dx",(char *) "dy", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= PyInt_FromLong((long)result
);
19880 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19884 wxColour
*arg3
= 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj2
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "item",(char *) "col", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19896 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19912 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "item", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19932 wxColour
* resultptr
;
19933 resultptr
= new wxColour((wxColour
&) result
);
19934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19942 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19946 wxColour
*arg3
= 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "item",(char *) "col", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19958 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 Py_INCREF(Py_None
); resultobj
= Py_None
;
19974 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "item", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 wxColour
* resultptr
;
19995 resultptr
= new wxColour((wxColour
&) result
);
19996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20004 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20007 PyObject
*arg2
= (PyObject
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self",(char *) "func", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= PyInt_FromLong((long)result
);
20032 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= wxPyMake_wxObject(result
);
20059 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
20061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20062 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
20064 return Py_BuildValue((char *)"");
20066 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxWindow
*arg1
= (wxWindow
*) 0 ;
20069 int arg2
= (int) -1 ;
20070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20074 long arg5
= (long) wxLC_REPORT
;
20075 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20076 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20077 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20079 wxListView
*result
;
20082 bool temp7
= False
;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj2
= 0 ;
20085 PyObject
* obj3
= 0 ;
20086 PyObject
* obj5
= 0 ;
20087 PyObject
* obj6
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20107 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 if (arg6
== NULL
) {
20109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20114 arg7
= wxString_in_helper(obj6
);
20115 if (arg7
== NULL
) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20141 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxListView
*result
;
20144 char *kwnames
[] = {
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (wxListView
*)new wxListView();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20163 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxListView
*arg1
= (wxListView
*) 0 ;
20166 wxWindow
*arg2
= (wxWindow
*) 0 ;
20167 int arg3
= (int) -1 ;
20168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20172 long arg6
= (long) wxLC_REPORT
;
20173 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20174 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20175 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20176 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20180 bool temp8
= False
;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 PyObject
* obj3
= 0 ;
20184 PyObject
* obj4
= 0 ;
20185 PyObject
* obj6
= 0 ;
20186 PyObject
* obj7
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20207 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20208 if (arg7
== NULL
) {
20209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20214 arg8
= wxString_in_helper(obj7
);
20215 if (arg8
== NULL
) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= PyInt_FromLong((long)result
);
20241 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxListView
*arg1
= (wxListView
*) 0 ;
20245 bool arg3
= (bool) True
;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj2
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "n",(char *) "on", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 arg3
= (bool) SPyObj_AsBool(obj2
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->Select(arg2
,arg3
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxListView
*arg1
= (wxListView
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "index", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 (arg1
)->Focus(arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 Py_INCREF(Py_None
); resultobj
= Py_None
;
20299 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20301 wxListView
*arg1
= (wxListView
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= PyInt_FromLong((long)result
);
20324 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxListView
*arg1
= (wxListView
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "item", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= PyInt_FromLong((long)result
);
20350 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxListView
*arg1
= (wxListView
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= PyInt_FromLong((long)result
);
20375 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxListView
*arg1
= (wxListView
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "index", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)(arg1
)->IsSelected(arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= PyInt_FromLong((long)result
);
20401 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxListView
*arg1
= (wxListView
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "col",(char *) "image", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 (arg1
)->SetColumnImage(arg2
,arg3
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxListView
*arg1
= (wxListView
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "col", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 (arg1
)->ClearColumnImage(arg2
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 Py_INCREF(Py_None
); resultobj
= Py_None
;
20452 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20455 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20457 return Py_BuildValue((char *)"");
20459 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20460 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20465 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20470 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20472 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20479 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxTreeItemId
*result
;
20482 char *kwnames
[] = {
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= (wxTreeItemId
*)new wxTreeItemId();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20501 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20525 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= PyInt_FromLong((long)result
);
20550 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20553 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "other", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= PyInt_FromLong((long)result
);
20578 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20581 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "other", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= PyInt_FromLong((long)result
);
20606 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20609 void *arg2
= (void *) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "m_pItem", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20619 if (arg1
) (arg1
)->m_pItem
= arg2
;
20621 Py_INCREF(Py_None
); resultobj
= Py_None
;
20628 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20639 result
= (void *) ((arg1
)->m_pItem
);
20641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
20648 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20653 return Py_BuildValue((char *)"");
20655 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 PyObject
*arg1
= (PyObject
*) NULL
;
20658 wxPyTreeItemData
*result
;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "obj", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20682 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
;
20684 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20686 PyObject
* obj0
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (PyObject
*)(arg1
)->GetData();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= result
;
20707 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20710 PyObject
*arg2
= (PyObject
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self",(char *) "obj", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 (arg1
)->SetData(arg2
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20737 wxTreeItemId
*result
;
20738 PyObject
* obj0
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20749 result
= (wxTreeItemId
*) &_result_ref
;
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20762 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
;
20764 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20765 wxTreeItemId
*arg2
= 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "id", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 if (arg2
== NULL
) {
20776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 Py_INCREF(Py_None
); resultobj
= Py_None
;
20792 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 wxPyTreeItemData_Destroy(arg1
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 Py_INCREF(Py_None
); resultobj
= Py_None
;
20816 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20819 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20821 return Py_BuildValue((char *)"");
20823 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20826 int arg2
= (int) 0 ;
20827 wxTreeEvent
*result
;
20828 char *kwnames
[] = {
20829 (char *) "commandType",(char *) "id", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20847 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20850 wxTreeItemId result
;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20866 wxTreeItemId
* resultptr
;
20867 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20868 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20876 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20879 wxTreeItemId
*arg2
= 0 ;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "item", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20889 if (arg2
== NULL
) {
20890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 Py_INCREF(Py_None
); resultobj
= Py_None
;
20906 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20909 wxTreeItemId result
;
20910 PyObject
* obj0
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 wxTreeItemId
* resultptr
;
20926 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20935 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20938 wxTreeItemId
*arg2
= 0 ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self",(char *) "item", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 if (arg2
== NULL
) {
20949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20984 wxPoint
* resultptr
;
20985 resultptr
= new wxPoint((wxPoint
&) result
);
20986 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20994 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20997 wxPoint
*arg2
= 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "pt", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21028 wxKeyEvent
*result
;
21029 PyObject
* obj0
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
21040 result
= (wxKeyEvent
*) &_result_ref
;
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
21053 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= PyInt_FromLong((long)result
);
21078 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21081 wxKeyEvent
*arg2
= 0 ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self",(char *) "evt", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21091 if (arg2
== NULL
) {
21092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
21123 result
= (wxString
*) &_result_ref
;
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21142 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21145 wxString
*arg2
= 0 ;
21146 bool temp2
= False
;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self",(char *) "label", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21156 arg2
= wxString_in_helper(obj1
);
21157 if (arg2
== NULL
) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetLabel((wxString
const &)*arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21182 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= PyInt_FromLong((long)result
);
21207 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "editCancelled", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21220 arg2
= (bool) SPyObj_AsBool(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 (arg1
)->SetEditCanceled(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 Py_INCREF(Py_None
); resultobj
= Py_None
;
21237 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21240 wxString
*arg2
= 0 ;
21241 bool temp2
= False
;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self",(char *) "toolTip", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 arg2
= wxString_in_helper(obj1
);
21252 if (arg2
== NULL
) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21277 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21280 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21282 return Py_BuildValue((char *)"");
21284 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxWindow
*arg1
= (wxWindow
*) 0 ;
21287 int arg2
= (int) -1 ;
21288 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21289 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21290 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21291 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21292 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21293 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21294 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21295 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21297 wxPyTreeCtrl
*result
;
21300 bool temp7
= False
;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj2
= 0 ;
21303 PyObject
* obj3
= 0 ;
21304 PyObject
* obj5
= 0 ;
21305 PyObject
* obj6
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21321 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21325 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21326 if (arg6
== NULL
) {
21327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21332 arg7
= wxString_in_helper(obj6
);
21333 if (arg7
== NULL
) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= wxPyMake_wxObject(result
);
21361 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPyTreeCtrl
*result
;
21364 char *kwnames
[] = {
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= wxPyMake_wxObject(result
);
21385 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21388 wxWindow
*arg2
= (wxWindow
*) 0 ;
21389 int arg3
= (int) -1 ;
21390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21394 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21397 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21402 bool temp8
= False
;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 PyObject
* obj3
= 0 ;
21406 PyObject
* obj4
= 0 ;
21407 PyObject
* obj6
= 0 ;
21408 PyObject
* obj7
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21429 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 if (arg7
== NULL
) {
21431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21436 arg8
= wxString_in_helper(obj7
);
21437 if (arg8
== NULL
) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= PyInt_FromLong((long)result
);
21463 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21466 PyObject
*arg2
= (PyObject
*) 0 ;
21467 PyObject
*arg3
= (PyObject
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "self",(char *) "_class", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21518 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21521 unsigned int result
;
21522 PyObject
* obj0
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21543 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21546 unsigned int arg2
;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "indent", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21556 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->SetIndent(arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21576 unsigned int result
;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21598 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21601 unsigned int arg2
;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "spacing", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21611 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->SetSpacing(arg2
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21631 wxImageList
*result
;
21632 PyObject
* obj0
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= wxPyMake_wxObject(result
);
21655 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21658 wxImageList
*result
;
21659 PyObject
* obj0
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= wxPyMake_wxObject(result
);
21682 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21685 wxImageList
*arg2
= (wxImageList
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "imageList", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetImageList(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21712 wxImageList
*arg2
= (wxImageList
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "imageList", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 (arg1
)->SetStateImageList(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 Py_INCREF(Py_None
); resultobj
= Py_None
;
21736 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21739 wxImageList
*arg2
= (wxImageList
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "imageList", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->AssignImageList(arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21766 wxImageList
*arg2
= (wxImageList
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "imageList", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->AssignStateImageList(arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21793 wxTreeItemId
*arg2
= 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "item", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21804 if (arg2
== NULL
) {
21805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21827 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21830 wxTreeItemId
*arg2
= 0 ;
21831 int arg3
= (int) wxTreeItemIcon_Normal
;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "item",(char *) "which", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21842 if (arg2
== NULL
) {
21843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= PyInt_FromLong((long)result
);
21859 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21862 wxTreeItemId
*arg2
= 0 ;
21863 wxPyTreeItemData
*result
;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self",(char *) "item", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21873 if (arg2
== NULL
) {
21874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21890 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21893 wxTreeItemId
*arg2
= 0 ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "item", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21904 if (arg2
== NULL
) {
21905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= result
;
21921 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21924 wxTreeItemId
*arg2
= 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "item", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 if (arg2
== NULL
) {
21936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 wxColour
* resultptr
;
21947 resultptr
= new wxColour((wxColour
&) result
);
21948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21956 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21959 wxTreeItemId
*arg2
= 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "item", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if (arg2
== NULL
) {
21971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21981 wxColour
* resultptr
;
21982 resultptr
= new wxColour((wxColour
&) result
);
21983 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21991 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21994 wxTreeItemId
*arg2
= 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "item", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 if (arg2
== NULL
) {
22006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 wxFont
* resultptr
;
22017 resultptr
= new wxFont((wxFont
&) result
);
22018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
22026 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22029 wxTreeItemId
*arg2
= 0 ;
22030 wxString
*arg3
= 0 ;
22031 bool temp3
= False
;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 PyObject
* obj2
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "item",(char *) "text", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22042 if (arg2
== NULL
) {
22043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22046 arg3
= wxString_in_helper(obj2
);
22047 if (arg3
== NULL
) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 Py_INCREF(Py_None
); resultobj
= Py_None
;
22072 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22075 wxTreeItemId
*arg2
= 0 ;
22077 int arg4
= (int) wxTreeItemIcon_Normal
;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22087 if (arg2
== NULL
) {
22088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 Py_INCREF(Py_None
); resultobj
= Py_None
;
22104 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22107 wxTreeItemId
*arg2
= 0 ;
22108 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 PyObject
* obj2
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "item",(char *) "data", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22119 if (arg2
== NULL
) {
22120 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22122 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22140 wxTreeItemId
*arg2
= 0 ;
22141 PyObject
*arg3
= (PyObject
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "item",(char *) "obj", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 if (arg2
== NULL
) {
22153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22173 wxTreeItemId
*arg2
= 0 ;
22174 bool arg3
= (bool) True
;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 PyObject
* obj2
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self",(char *) "item",(char *) "has", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22185 if (arg2
== NULL
) {
22186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22190 arg3
= (bool) SPyObj_AsBool(obj2
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22211 wxTreeItemId
*arg2
= 0 ;
22212 bool arg3
= (bool) True
;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 PyObject
* obj2
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self",(char *) "item",(char *) "bold", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22223 if (arg2
== NULL
) {
22224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22228 arg3
= (bool) SPyObj_AsBool(obj2
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22249 wxTreeItemId
*arg2
= 0 ;
22250 wxColour
*arg3
= 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "item",(char *) "col", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22262 if (arg2
== NULL
) {
22263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22267 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 Py_INCREF(Py_None
); resultobj
= Py_None
;
22283 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22286 wxTreeItemId
*arg2
= 0 ;
22287 wxColour
*arg3
= 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "item",(char *) "col", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22299 if (arg2
== NULL
) {
22300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22304 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22323 wxTreeItemId
*arg2
= 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "item",(char *) "font", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 if (arg2
== NULL
) {
22336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22339 if (arg3
== NULL
) {
22340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22359 wxTreeItemId
*arg2
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "item", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22370 if (arg2
== NULL
) {
22371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= PyInt_FromLong((long)result
);
22387 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22390 wxTreeItemId
*arg2
= 0 ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "item", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22401 if (arg2
== NULL
) {
22402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= PyInt_FromLong((long)result
);
22418 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22421 wxTreeItemId
*arg2
= 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "item", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22432 if (arg2
== NULL
) {
22433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= PyInt_FromLong((long)result
);
22449 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22452 wxTreeItemId
*arg2
= 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "item", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22463 if (arg2
== NULL
) {
22464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= PyInt_FromLong((long)result
);
22480 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22483 wxTreeItemId
*arg2
= 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "item", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22494 if (arg2
== NULL
) {
22495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= PyInt_FromLong((long)result
);
22511 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22514 wxTreeItemId
*arg2
= 0 ;
22515 bool arg3
= (bool) True
;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 PyObject
* obj2
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "item",(char *) "recursively", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22527 if (arg2
== NULL
) {
22528 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22532 arg3
= (bool) SPyObj_AsBool(obj2
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
22550 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22553 wxTreeItemId result
;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22569 wxTreeItemId
* resultptr
;
22570 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22571 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22579 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22582 wxTreeItemId result
;
22583 PyObject
* obj0
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 wxTreeItemId
* resultptr
;
22599 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22600 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22608 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= result
;
22633 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22636 wxTreeItemId
*arg2
= 0 ;
22637 wxTreeItemId result
;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self",(char *) "item", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22647 if (arg2
== NULL
) {
22648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 wxTreeItemId
* resultptr
;
22659 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22668 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22671 wxTreeItemId
*arg2
= 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "item", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22682 if (arg2
== NULL
) {
22683 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
;
22699 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22702 wxTreeItemId
*arg2
= 0 ;
22703 void *arg3
= (void *) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj2
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "item",(char *) "cookie", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 if (arg2
== NULL
) {
22716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22718 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= result
;
22733 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22736 wxTreeItemId
*arg2
= 0 ;
22737 wxTreeItemId result
;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "item", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22747 if (arg2
== NULL
) {
22748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 wxTreeItemId
* resultptr
;
22759 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22768 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22771 wxTreeItemId
*arg2
= 0 ;
22772 wxTreeItemId result
;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self",(char *) "item", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22782 if (arg2
== NULL
) {
22783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 wxTreeItemId
* resultptr
;
22794 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22803 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22806 wxTreeItemId
*arg2
= 0 ;
22807 wxTreeItemId result
;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "item", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 if (arg2
== NULL
) {
22818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 wxTreeItemId
* resultptr
;
22829 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22830 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22838 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22841 wxTreeItemId result
;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22857 wxTreeItemId
* resultptr
;
22858 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22867 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22870 wxTreeItemId
*arg2
= 0 ;
22871 wxTreeItemId result
;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self",(char *) "item", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22881 if (arg2
== NULL
) {
22882 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22892 wxTreeItemId
* resultptr
;
22893 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22894 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22902 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22905 wxTreeItemId
*arg2
= 0 ;
22906 wxTreeItemId result
;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "item", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22916 if (arg2
== NULL
) {
22917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 wxTreeItemId
* resultptr
;
22928 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22937 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22940 wxString
*arg2
= 0 ;
22941 int arg3
= (int) -1 ;
22942 int arg4
= (int) -1 ;
22943 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22944 wxTreeItemId result
;
22945 bool temp2
= False
;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 PyObject
* obj4
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22956 arg2
= wxString_in_helper(obj1
);
22957 if (arg2
== NULL
) SWIG_fail
;
22961 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 wxTreeItemId
* resultptr
;
22972 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22989 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22992 wxTreeItemId
*arg2
= 0 ;
22993 wxString
*arg3
= 0 ;
22994 int arg4
= (int) -1 ;
22995 int arg5
= (int) -1 ;
22996 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22997 wxTreeItemId result
;
22998 bool temp3
= False
;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 PyObject
* obj2
= 0 ;
23002 PyObject
* obj5
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23010 if (arg2
== NULL
) {
23011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23014 arg3
= wxString_in_helper(obj2
);
23015 if (arg3
== NULL
) SWIG_fail
;
23019 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 wxTreeItemId
* resultptr
;
23030 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23047 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23050 wxTreeItemId
*arg2
= 0 ;
23051 wxTreeItemId
*arg3
= 0 ;
23052 wxString
*arg4
= 0 ;
23053 int arg5
= (int) -1 ;
23054 int arg6
= (int) -1 ;
23055 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23056 wxTreeItemId result
;
23057 bool temp4
= False
;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 PyObject
* obj3
= 0 ;
23062 PyObject
* obj6
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23070 if (arg2
== NULL
) {
23071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23073 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23074 if (arg3
== NULL
) {
23075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23078 arg4
= wxString_in_helper(obj3
);
23079 if (arg4
== NULL
) SWIG_fail
;
23083 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23093 wxTreeItemId
* resultptr
;
23094 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23111 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23114 wxTreeItemId
*arg2
= 0 ;
23116 wxString
*arg4
= 0 ;
23117 int arg5
= (int) -1 ;
23118 int arg6
= (int) -1 ;
23119 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23120 wxTreeItemId result
;
23121 bool temp4
= False
;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 PyObject
* obj2
= 0 ;
23125 PyObject
* obj3
= 0 ;
23126 PyObject
* obj6
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23134 if (arg2
== NULL
) {
23135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23138 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 arg4
= wxString_in_helper(obj3
);
23143 if (arg4
== NULL
) SWIG_fail
;
23147 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 wxTreeItemId
* resultptr
;
23158 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23159 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23175 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23178 wxTreeItemId
*arg2
= 0 ;
23179 wxString
*arg3
= 0 ;
23180 int arg4
= (int) -1 ;
23181 int arg5
= (int) -1 ;
23182 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23183 wxTreeItemId result
;
23184 bool temp3
= False
;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 PyObject
* obj2
= 0 ;
23188 PyObject
* obj5
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23196 if (arg2
== NULL
) {
23197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23200 arg3
= wxString_in_helper(obj2
);
23201 if (arg3
== NULL
) SWIG_fail
;
23205 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 wxTreeItemId
* resultptr
;
23216 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23217 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23233 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23236 wxTreeItemId
*arg2
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self",(char *) "item", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23246 if (arg2
== NULL
) {
23247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 Py_INCREF(Py_None
); resultobj
= Py_None
;
23263 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23266 wxTreeItemId
*arg2
= 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self",(char *) "item", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23276 if (arg2
== NULL
) {
23277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 Py_INCREF(Py_None
); resultobj
= Py_None
;
23293 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 (arg1
)->DeleteAllItems();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 Py_INCREF(Py_None
); resultobj
= Py_None
;
23317 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23320 wxTreeItemId
*arg2
= 0 ;
23321 PyObject
* obj0
= 0 ;
23322 PyObject
* obj1
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self",(char *) "item", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23330 if (arg2
== NULL
) {
23331 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 Py_INCREF(Py_None
); resultobj
= Py_None
;
23347 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23350 wxTreeItemId
*arg2
= 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "item", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23360 if (arg2
== NULL
) {
23361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23380 wxTreeItemId
*arg2
= 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "item", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23390 if (arg2
== NULL
) {
23391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23410 wxTreeItemId
*arg2
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "item", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23420 if (arg2
== NULL
) {
23421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23437 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 (arg1
)->Unselect();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 Py_INCREF(Py_None
); resultobj
= Py_None
;
23461 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 (arg1
)->UnselectAll();
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 Py_INCREF(Py_None
); resultobj
= Py_None
;
23485 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23488 wxTreeItemId
*arg2
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "item", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23498 if (arg2
== NULL
) {
23499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23518 wxTreeItemId
*arg2
= 0 ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "item", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23528 if (arg2
== NULL
) {
23529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 Py_INCREF(Py_None
); resultobj
= Py_None
;
23545 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
;
23547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23548 wxTreeItemId
*arg2
= 0 ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "item", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23558 if (arg2
== NULL
) {
23559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 Py_INCREF(Py_None
); resultobj
= Py_None
;
23575 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23578 wxTreeItemId
*arg2
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "item", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23588 if (arg2
== NULL
) {
23589 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23608 wxTextCtrl
*result
;
23609 PyObject
* obj0
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= wxPyMake_wxObject(result
);
23632 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23635 wxTreeItemId
*arg2
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self",(char *) "item", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23645 if (arg2
== NULL
) {
23646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23665 wxPoint
*arg2
= 0 ;
23667 wxTreeItemId result
;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "point", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 wxTreeItemId
* resultptr
;
23692 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23696 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23697 resultobj
= t_output_helper(resultobj
,o
);
23705 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23708 wxTreeItemId
*arg2
= 0 ;
23709 bool arg3
= (bool) False
;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 PyObject
* obj2
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23721 if (arg2
== NULL
) {
23722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23726 arg3
= (bool) SPyObj_AsBool(obj2
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= result
;
23744 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23747 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23749 return Py_BuildValue((char *)"");
23751 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23752 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23757 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23762 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23764 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23771 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxWindow
*arg1
= (wxWindow
*) 0 ;
23774 int arg2
= (int) (int)-1 ;
23775 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23781 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23782 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23784 int arg8
= (int) 0 ;
23785 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23786 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23787 wxGenericDirCtrl
*result
;
23788 bool temp3
= False
;
23791 bool temp7
= False
;
23792 bool temp9
= False
;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj2
= 0 ;
23795 PyObject
* obj3
= 0 ;
23796 PyObject
* obj4
= 0 ;
23797 PyObject
* obj6
= 0 ;
23798 PyObject
* obj8
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23807 arg3
= wxString_in_helper(obj2
);
23808 if (arg3
== NULL
) SWIG_fail
;
23815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23826 arg7
= wxString_in_helper(obj6
);
23827 if (arg7
== NULL
) SWIG_fail
;
23833 arg9
= wxString_in_helper(obj8
);
23834 if (arg9
== NULL
) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23876 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxGenericDirCtrl
*result
;
23879 char *kwnames
[] = {
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23898 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23901 wxWindow
*arg2
= (wxWindow
*) 0 ;
23902 int arg3
= (int) (int)-1 ;
23903 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23904 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23905 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23906 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23907 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23908 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23909 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23910 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23911 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23912 int arg9
= (int) 0 ;
23913 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23914 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23916 bool temp4
= False
;
23919 bool temp8
= False
;
23920 bool temp10
= False
;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 PyObject
* obj3
= 0 ;
23924 PyObject
* obj4
= 0 ;
23925 PyObject
* obj5
= 0 ;
23926 PyObject
* obj7
= 0 ;
23927 PyObject
* obj9
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23937 arg4
= wxString_in_helper(obj3
);
23938 if (arg4
== NULL
) SWIG_fail
;
23945 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23951 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23956 arg8
= wxString_in_helper(obj7
);
23957 if (arg8
== NULL
) SWIG_fail
;
23963 arg10
= wxString_in_helper(obj9
);
23964 if (arg10
== NULL
) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= PyInt_FromLong((long)result
);
24006 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24009 wxString
*arg2
= 0 ;
24011 bool temp2
= False
;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "path", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24021 arg2
= wxString_in_helper(obj1
);
24022 if (arg2
== NULL
) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= PyInt_FromLong((long)result
);
24047 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24051 PyObject
* obj0
= 0 ;
24052 char *kwnames
[] = {
24053 (char *) "self", NULL
24056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
24057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24078 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24081 wxString
*arg2
= 0 ;
24082 bool temp2
= False
;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "path", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24092 arg2
= wxString_in_helper(obj1
);
24093 if (arg2
== NULL
) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24149 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24180 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24183 wxString
*arg2
= 0 ;
24184 bool temp2
= False
;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self",(char *) "path", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24194 arg2
= wxString_in_helper(obj1
);
24195 if (arg2
== NULL
) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 (arg1
)->SetPath((wxString
const &)*arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 Py_INCREF(Py_None
); resultobj
= Py_None
;
24220 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "show", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24233 arg2
= (bool) SPyObj_AsBool(obj1
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 (arg1
)->ShowHidden(arg2
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (bool)(arg1
)->GetShowHidden();
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= PyInt_FromLong((long)result
);
24275 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24306 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24309 wxString
*arg2
= 0 ;
24310 bool temp2
= False
;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "filter", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24320 arg2
= wxString_in_helper(obj1
);
24321 if (arg2
== NULL
) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 (arg1
)->SetFilter((wxString
const &)*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 Py_INCREF(Py_None
); resultobj
= Py_None
;
24346 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= PyInt_FromLong((long)result
);
24371 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self",(char *) "n", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 (arg1
)->SetFilterIndex(arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 Py_INCREF(Py_None
); resultobj
= Py_None
;
24396 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24399 wxTreeItemId result
;
24400 PyObject
* obj0
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (arg1
)->GetRootId();
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 wxTreeItemId
* resultptr
;
24416 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24417 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24425 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24428 wxPyTreeCtrl
*result
;
24429 PyObject
* obj0
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= wxPyMake_wxObject(result
);
24452 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24455 wxDirFilterListCtrl
*result
;
24456 PyObject
* obj0
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24477 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24480 wxTreeItemId arg2
;
24481 wxString
*arg3
= 0 ;
24483 wxTreeItemId result
;
24484 wxTreeItemId
*argp2
;
24485 bool temp3
= False
;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 PyObject
* obj2
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "parentId",(char *) "path", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24497 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24500 arg3
= wxString_in_helper(obj2
);
24501 if (arg3
== NULL
) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 wxTreeItemId
* resultptr
;
24513 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24517 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24518 resultobj
= t_output_helper(resultobj
,o
);
24534 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 (arg1
)->DoResize();
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 Py_INCREF(Py_None
); resultobj
= Py_None
;
24558 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->ReCreateTree();
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 Py_INCREF(Py_None
); resultobj
= Py_None
;
24582 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24585 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24587 return Py_BuildValue((char *)"");
24589 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24592 int arg2
= (int) (int)-1 ;
24593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24597 long arg5
= (long) 0 ;
24598 wxDirFilterListCtrl
*result
;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj2
= 0 ;
24603 PyObject
* obj3
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24636 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxDirFilterListCtrl
*result
;
24639 char *kwnames
[] = {
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24658 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24661 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24662 int arg3
= (int) (int)-1 ;
24663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24667 long arg6
= (long) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 PyObject
* obj3
= 0 ;
24674 PyObject
* obj4
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= PyInt_FromLong((long)result
);
24708 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24711 wxString
*arg2
= 0 ;
24713 bool temp2
= False
;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24723 arg2
= wxString_in_helper(obj1
);
24724 if (arg2
== NULL
) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 Py_INCREF(Py_None
); resultobj
= Py_None
;
24749 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24752 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24754 return Py_BuildValue((char *)"");
24756 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxWindow
*arg1
= (wxWindow
*) 0 ;
24760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24764 long arg5
= (long) 0 ;
24765 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24766 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24767 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24769 wxPyControl
*result
;
24772 bool temp7
= False
;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj2
= 0 ;
24775 PyObject
* obj3
= 0 ;
24776 PyObject
* obj5
= 0 ;
24777 PyObject
* obj6
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24797 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24798 if (arg6
== NULL
) {
24799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24804 arg7
= wxString_in_helper(obj6
);
24805 if (arg7
== NULL
) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24831 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24834 PyObject
*arg2
= (PyObject
*) 0 ;
24835 PyObject
*arg3
= (PyObject
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 PyObject
* obj2
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "self",(char *) "_class", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24896 int arg6
= (int) wxSIZE_AUTO
;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "width",(char *) "height", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 Py_INCREF(Py_None
); resultobj
= Py_None
;
24944 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "x",(char *) "y", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24973 int *arg2
= (int *) 0 ;
24974 int *arg3
= (int *) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 Py_INCREF(Py_None
); resultobj
= Py_None
;
24995 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24996 resultobj
= t_output_helper(resultobj
,o
);
24999 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25000 resultobj
= t_output_helper(resultobj
,o
);
25008 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25011 int *arg2
= (int *) 0 ;
25012 int *arg3
= (int *) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25033 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25034 resultobj
= t_output_helper(resultobj
,o
);
25037 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25038 resultobj
= t_output_helper(resultobj
,o
);
25046 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25049 int *arg2
= (int *) 0 ;
25050 int *arg3
= (int *) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 Py_INCREF(Py_None
); resultobj
= Py_None
;
25071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25072 resultobj
= t_output_helper(resultobj
,o
);
25075 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25076 resultobj
= t_output_helper(resultobj
,o
);
25084 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25103 wxSize
* resultptr
;
25104 resultptr
= new wxSize((wxSize
&) result
);
25105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25113 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 wxSize
* resultptr
;
25133 resultptr
= new wxSize((wxSize
&) result
);
25134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25142 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 (arg1
)->base_InitDialog();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 Py_INCREF(Py_None
); resultobj
= Py_None
;
25166 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (bool)(arg1
)->base_TransferDataToWindow();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= PyInt_FromLong((long)result
);
25191 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= PyInt_FromLong((long)result
);
25216 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (bool)(arg1
)->base_Validate();
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= PyInt_FromLong((long)result
);
25241 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= PyInt_FromLong((long)result
);
25266 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= PyInt_FromLong((long)result
);
25291 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25310 wxSize
* resultptr
;
25311 resultptr
= new wxSize((wxSize
&) result
);
25312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25320 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25323 wxWindow
*arg2
= (wxWindow
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self",(char *) "child", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->base_AddChild(arg2
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25347 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25350 wxWindow
*arg2
= (wxWindow
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self",(char *) "child", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->base_RemoveChild(arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25374 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25377 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25379 return Py_BuildValue((char *)"");
25381 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25384 int arg2
= (int) 0 ;
25385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25387 wxHelpEvent
*result
;
25389 PyObject
* obj2
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "type",(char *) "winid",(char *) "pt", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25415 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25430 result
= (wxPoint
*) &_result_ref
;
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25443 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25446 wxPoint
*arg2
= 0 ;
25448 PyObject
* obj0
= 0 ;
25449 PyObject
* obj1
= 0 ;
25450 char *kwnames
[] = {
25451 (char *) "self",(char *) "pos", NULL
25454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25474 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25478 PyObject
* obj0
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "self", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25489 result
= (wxString
*) &_result_ref
;
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25508 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25511 wxString
*arg2
= 0 ;
25512 bool temp2
= False
;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self",(char *) "link", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25522 arg2
= wxString_in_helper(obj1
);
25523 if (arg2
== NULL
) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetLink((wxString
const &)*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25563 result
= (wxString
*) &_result_ref
;
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25573 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25582 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25585 wxString
*arg2
= 0 ;
25586 bool temp2
= False
;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "target", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25596 arg2
= wxString_in_helper(obj1
);
25597 if (arg2
== NULL
) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->SetTarget((wxString
const &)*arg2
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25625 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25627 return Py_BuildValue((char *)"");
25629 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxWindow
*arg1
= (wxWindow
*) NULL
;
25632 bool arg2
= (bool) True
;
25633 wxContextHelp
*result
;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "window",(char *) "doNow", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25646 arg2
= (bool) SPyObj_AsBool(obj1
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25664 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 Py_INCREF(Py_None
); resultobj
= Py_None
;
25688 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25691 wxWindow
*arg2
= (wxWindow
*) NULL
;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "window", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= PyInt_FromLong((long)result
);
25718 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (bool)(arg1
)->EndContextHelp();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= PyInt_FromLong((long)result
);
25743 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25746 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25748 return Py_BuildValue((char *)"");
25750 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxWindow
*arg1
= (wxWindow
*) 0 ;
25753 int arg2
= (int) wxID_CONTEXT_HELP
;
25754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25758 long arg5
= (long) wxBU_AUTODRAW
;
25759 wxContextHelpButton
*result
;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj2
= 0 ;
25764 PyObject
* obj3
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25780 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25797 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25800 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25802 return Py_BuildValue((char *)"");
25804 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25807 wxHelpProvider
*result
;
25808 PyObject
* obj0
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "helpProvider", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25829 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxHelpProvider
*result
;
25832 char *kwnames
[] = {
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25851 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25854 wxWindow
*arg2
= (wxWindow
*) 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "window", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25885 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25888 wxWindow
*arg2
= (wxWindow
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "window", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (bool)(arg1
)->ShowHelp(arg2
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= PyInt_FromLong((long)result
);
25913 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25916 wxWindow
*arg2
= (wxWindow
*) 0 ;
25917 wxString
*arg3
= 0 ;
25918 bool temp3
= False
;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "window",(char *) "text", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25930 arg3
= wxString_in_helper(obj2
);
25931 if (arg3
== NULL
) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25956 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25960 wxString
*arg3
= 0 ;
25961 bool temp3
= False
;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj2
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self",(char *) "id",(char *) "text", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25971 arg3
= wxString_in_helper(obj2
);
25972 if (arg3
== NULL
) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 Py_INCREF(Py_None
); resultobj
= Py_None
;
25997 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 wxHelpProvider_Destroy(arg1
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26021 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26024 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
26026 return Py_BuildValue((char *)"");
26028 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxSimpleHelpProvider
*result
;
26031 char *kwnames
[] = {
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
26050 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26053 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
26055 return Py_BuildValue((char *)"");
26057 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxBitmap
*arg1
= 0 ;
26060 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26061 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26062 wxGenericDragImage
*result
;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "image",(char *) "cursor", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26071 if (arg1
== NULL
) {
26072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26076 if (arg2
== NULL
) {
26077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26094 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26097 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26098 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26099 wxGenericDragImage
*result
;
26100 PyObject
* obj0
= 0 ;
26101 PyObject
* obj1
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "image",(char *) "cursor", NULL
26106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
26107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26108 if (arg1
== NULL
) {
26109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26113 if (arg2
== NULL
) {
26114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26131 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxString
*arg1
= 0 ;
26134 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26135 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26136 wxGenericDragImage
*result
;
26137 bool temp1
= False
;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "str",(char *) "cursor", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 arg1
= wxString_in_helper(obj0
);
26147 if (arg1
== NULL
) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26152 if (arg2
== NULL
) {
26153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26178 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26182 wxGenericDragImage
*result
;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "treeCtrl",(char *) "id", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26191 if (arg1
== NULL
) {
26192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26195 if (arg2
== NULL
) {
26196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26212 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyListCtrl
*arg1
= 0 ;
26216 wxGenericDragImage
*result
;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "listCtrl",(char *) "id", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26224 if (arg1
== NULL
) {
26225 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26241 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26265 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26268 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "bitmap", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetBackingBitmap(arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26295 wxPoint
*arg2
= 0 ;
26296 wxWindow
*arg3
= (wxWindow
*) 0 ;
26297 bool arg4
= (bool) False
;
26298 wxRect
*arg5
= (wxRect
*) NULL
;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 PyObject
* obj2
= 0 ;
26304 PyObject
* obj3
= 0 ;
26305 PyObject
* obj4
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26316 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 arg4
= (bool) SPyObj_AsBool(obj3
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26324 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= PyInt_FromLong((long)result
);
26340 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26343 wxPoint
*arg2
= 0 ;
26344 wxWindow
*arg3
= (wxWindow
*) 0 ;
26345 wxWindow
*arg4
= (wxWindow
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 PyObject
* obj2
= 0 ;
26351 PyObject
* obj3
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26362 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26363 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= PyInt_FromLong((long)result
);
26378 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (bool)(arg1
)->EndDrag();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= PyInt_FromLong((long)result
);
26403 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26406 wxPoint
*arg2
= 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "pt", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= PyInt_FromLong((long)result
);
26435 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= (bool)(arg1
)->Show();
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= PyInt_FromLong((long)result
);
26460 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
;
26462 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 result
= (bool)(arg1
)->Hide();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= PyInt_FromLong((long)result
);
26485 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26488 wxPoint
*arg2
= 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self",(char *) "pos", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 wxRect
* resultptr
;
26512 resultptr
= new wxRect((wxRect
&) result
);
26513 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26521 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26525 wxPoint
*arg3
= 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "dc",(char *) "pos", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26538 if (arg2
== NULL
) {
26539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= PyInt_FromLong((long)result
);
26559 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26563 wxMemoryDC
*arg3
= 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 PyObject
* obj2
= 0 ;
26572 PyObject
* obj3
= 0 ;
26573 PyObject
* obj4
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26581 if (arg2
== NULL
) {
26582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26584 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26585 if (arg3
== NULL
) {
26586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26590 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26594 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= PyInt_FromLong((long)result
);
26610 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26613 wxPoint
*arg2
= 0 ;
26614 wxPoint
*arg3
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 PyObject
* obj2
= 0 ;
26623 PyObject
* obj3
= 0 ;
26624 PyObject
* obj4
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26640 arg4
= (bool) SPyObj_AsBool(obj3
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 arg5
= (bool) SPyObj_AsBool(obj4
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= PyInt_FromLong((long)result
);
26661 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26664 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26666 return Py_BuildValue((char *)"");
26668 static PyMethodDef SwigMethods
[] = {
26669 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26675 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26690 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26701 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26710 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26728 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26741 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26745 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26751 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26755 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26762 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26781 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26790 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26791 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26819 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26872 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26877 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26888 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26900 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26911 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
26915 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26932 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26938 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26963 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26970 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26990 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26996 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
27005 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
27007 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
27012 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
27014 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
27019 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
27024 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
27054 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
27099 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
27104 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27116 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27168 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27195 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27264 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27276 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27284 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27291 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27307 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27379 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27401 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27406 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27427 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27435 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27440 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27442 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27450 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27452 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27476 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27477 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27479 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27480 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27482 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27483 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27485 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27486 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27488 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27489 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27491 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27492 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27494 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27495 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27497 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27498 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27500 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27501 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27503 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27504 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27506 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27507 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27509 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27510 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27512 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27513 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27515 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27516 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27518 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27519 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27521 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27522 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27524 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27525 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27527 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27528 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27530 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27533 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27536 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27537 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27539 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27540 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27542 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27543 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27545 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27546 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27548 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27549 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27551 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27552 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27554 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27555 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27557 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27558 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27560 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27563 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27564 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27566 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27567 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27569 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27570 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27572 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27573 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27575 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27576 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27578 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27579 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27581 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27582 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27584 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27585 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27587 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27590 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27591 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27593 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27594 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27596 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27597 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27599 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27600 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27602 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27603 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27605 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27606 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27608 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27611 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27612 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27614 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27615 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27617 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27620 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27623 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27624 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27626 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27627 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27629 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27630 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27632 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
27633 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27635 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27636 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
27638 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27639 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27641 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27642 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27644 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27645 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27647 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27648 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27650 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27651 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27653 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27654 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27656 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27657 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27659 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27660 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27662 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27663 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27665 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27666 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27668 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27669 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27671 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27672 return (void *)((wxControl
*) ((wxComboBox
*) x
));
27674 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27675 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27677 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27678 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27680 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27681 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27683 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27684 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27686 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27687 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27689 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27690 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27692 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27693 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27695 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27696 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27698 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27699 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27701 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27702 return (void *)((wxControl
*) ((wxGauge
*) x
));
27704 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27705 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27707 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27708 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27710 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27711 return (void *)((wxControl
*) ((wxButton
*) x
));
27713 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27714 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27716 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27717 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27719 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27720 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27722 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27723 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27725 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27726 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27728 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27729 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27731 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27732 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27734 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27735 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27737 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27738 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27740 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27741 return (void *)((wxControl
*) ((wxSlider
*) x
));
27743 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27744 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27746 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27747 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27749 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27750 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27752 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27753 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27755 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27756 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27758 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27759 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27761 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27762 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27764 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27765 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27767 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27768 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27770 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
27771 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27773 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27774 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27776 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27777 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27779 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27782 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27783 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27785 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27786 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27788 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27789 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27791 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27794 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27795 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27797 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27800 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27803 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27804 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27806 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27807 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27809 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27812 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27815 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27818 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27821 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27824 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27825 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27827 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27830 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27833 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27836 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27839 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27842 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27845 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27848 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27851 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27854 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27857 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27860 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27863 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27866 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27869 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27872 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27875 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27878 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27881 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27884 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27887 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27890 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27893 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27896 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27899 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27900 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27902 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27903 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27905 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27906 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27908 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27909 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27911 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27912 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27914 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27915 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27917 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27918 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27920 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27921 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27923 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27924 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27926 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27927 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27929 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27932 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27933 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27935 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27938 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27941 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27942 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27944 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27945 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27947 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27948 return (void *)((wxObject
*) ((wxSizer
*) x
));
27950 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27951 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27953 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27956 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27959 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27962 static void *_p_wxEventTo_p_wxObject(void *x
) {
27963 return (void *)((wxObject
*) ((wxEvent
*) x
));
27965 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27966 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27968 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27969 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27971 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27972 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27974 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27977 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27980 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27983 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27984 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27986 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27987 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27989 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27990 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27992 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27993 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27995 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27996 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27998 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27999 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28001 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
28002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
28004 static void *_p_wxControlTo_p_wxObject(void *x
) {
28005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28007 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
28008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
28010 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
28011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28013 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
28014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28016 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
28017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28019 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
28020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28022 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28023 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28025 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
28026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28028 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28029 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28031 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28032 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28034 static void *_p_wxListViewTo_p_wxObject(void *x
) {
28035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28037 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
28038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28040 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
28041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28043 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28044 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28046 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28049 static void *_p_wxListbookTo_p_wxObject(void *x
) {
28050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28052 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28053 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28055 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
28056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28058 static void *_p_wxSliderTo_p_wxObject(void *x
) {
28059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28061 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28062 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28064 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28065 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28071 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28074 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28076 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28077 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28079 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28080 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28082 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28083 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28085 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28086 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28088 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
28089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28091 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
28092 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
28094 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28097 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28100 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28103 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28106 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28109 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28112 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28113 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28115 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28116 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28118 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28119 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28121 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28122 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28124 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28125 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28127 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28130 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28131 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28133 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28136 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28139 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28142 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28145 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28148 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28151 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28154 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28157 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28158 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28160 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28163 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28166 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
28169 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28172 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28173 return (void *)((wxObject
*) ((wxListItem
*) x
));
28175 static void *_p_wxImageTo_p_wxObject(void *x
) {
28176 return (void *)((wxObject
*) ((wxImage
*) x
));
28178 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28179 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28181 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28182 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28184 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
28185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28187 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28188 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28190 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28193 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28196 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28199 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28202 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28203 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28205 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28206 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28208 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28211 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28212 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28214 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28217 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28218 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28220 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28223 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28224 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28226 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28227 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28229 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28230 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28232 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28233 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28235 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28236 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28238 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28241 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28244 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28245 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28247 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28250 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28251 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28253 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28254 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28256 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28259 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28262 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28263 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28265 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28268 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28271 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28272 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28274 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28275 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28277 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28278 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28280 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28281 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28283 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28284 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28286 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28287 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28289 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28290 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28292 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28293 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28295 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28296 return (void *)((wxWindow
*) ((wxControl
*) x
));
28298 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28299 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28301 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28302 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28304 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28305 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28307 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28308 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
28310 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28311 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28313 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28314 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28316 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28317 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28319 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28320 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28322 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28323 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28325 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28326 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28328 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28329 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28331 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28332 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28334 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28335 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28337 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28338 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28340 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28341 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28343 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28344 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28346 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28347 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28349 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28350 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28352 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28353 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28355 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28356 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28358 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28359 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28361 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28362 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28364 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28365 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28367 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28368 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28370 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28371 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28373 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28374 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28376 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28377 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28379 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28380 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28382 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28383 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28385 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28386 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28388 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28389 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28391 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28392 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28394 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28395 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28397 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28398 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28400 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28401 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28403 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28404 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28406 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28407 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28409 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28410 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28412 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28413 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28415 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28416 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28418 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
28419 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28421 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28422 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28424 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28425 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28427 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28428 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28430 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28431 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28433 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28434 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28436 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28437 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28439 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28440 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28442 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28443 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28445 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28446 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0},{"_p_wxBookCtrlEvent"},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
},{0}};
28447 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
},{0}};
28448 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28449 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28450 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
28451 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28452 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28453 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28454 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
28455 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28456 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28457 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28458 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
},{"_p_wxListView", _p_wxListViewTo_p_wxControl
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
},{"_p_wxButton", _p_wxButtonTo_p_wxControl
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
},{0}};
28459 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28460 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28461 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28462 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28463 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28464 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28465 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28466 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28467 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28468 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28469 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28470 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28471 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28472 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28473 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28474 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28475 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28476 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
28477 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28478 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28479 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28480 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28481 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28482 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28483 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28484 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28485 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
},{0}};
28486 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28487 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28488 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28489 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
},{"_p_wxBookCtrl"},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
},{0}};
28490 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28491 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0},{"_p_wxButton"},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
},{0}};
28492 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28493 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28494 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28495 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28496 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28497 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28498 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28499 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28500 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28501 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28502 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28503 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28504 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28505 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28506 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28507 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28508 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28509 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28510 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28511 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28512 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxListView", _p_wxListViewTo_p_wxObject
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
},{"_p_wxButton", _p_wxButtonTo_p_wxObject
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
28513 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28514 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28515 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
},{0}};
28516 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28517 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28518 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28519 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28520 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
28521 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28522 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
28523 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28524 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28525 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28526 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28527 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28529 static swig_type_info
*swig_types_initial
[] = {
28530 _swigt__p_wxTextUrlEvent
,
28531 _swigt__p_wxBookCtrlEvent
,
28533 _swigt__p_wxCheckBox
,
28534 _swigt__p_wxPyTreeCtrl
,
28536 _swigt__p_wxGenericDirCtrl
,
28538 _swigt__p_wxPyTreeItemData
,
28539 _swigt__p_wxItemContainer
,
28540 _swigt__p_wxDirFilterListCtrl
,
28541 _swigt__p_wxPyListCtrl
,
28542 _swigt__p_wxStaticLine
,
28543 _swigt__p_wxControl
,
28544 _swigt__p_wxPyControl
,
28546 _swigt__p_wxToolBarBase
,
28548 _swigt__p_wxToggleButton
,
28549 _swigt__p_wxRadioButton
,
28550 _swigt__p_wxChoice
,
28551 _swigt__p_wxMemoryDC
,
28552 _swigt__p_wxListItemAttr
,
28557 _swigt__p_wxListView
,
28559 _swigt__p_wxTextCtrl
,
28560 _swigt__p_wxNotebook
,
28561 _swigt__p_wxNotifyEvent
,
28562 _swigt__p_wxArrayString
,
28563 _swigt__p_wxListbook
,
28564 _swigt__p_wxStaticBitmap
,
28565 _swigt__p_wxSlider
,
28566 _swigt__p_wxStaticBox
,
28567 _swigt__p_wxArrayInt
,
28568 _swigt__p_wxContextHelp
,
28570 _swigt__p_wxEvtHandler
,
28571 _swigt__p_wxListEvent
,
28572 _swigt__p_wxListBox
,
28573 _swigt__p_wxCheckListBox
,
28574 _swigt__p_wxBookCtrl
,
28575 _swigt__p_wxSpinButton
,
28576 _swigt__p_wxButton
,
28577 _swigt__p_wxBitmapButton
,
28579 _swigt__p_wxContextHelpButton
,
28580 _swigt__p_wxRadioBox
,
28581 _swigt__p_wxScrollBar
,
28582 _swigt__p_wxTreeItemId
,
28583 _swigt__p_wxComboBox
,
28584 _swigt__p_wxHelpEvent
,
28585 _swigt__p_wxListItem
,
28586 _swigt__p_wxNotebookSizer
,
28587 _swigt__p_wxSpinEvent
,
28588 _swigt__p_wxGenericDragImage
,
28589 _swigt__p_wxSpinCtrl
,
28590 _swigt__p_wxImageList
,
28591 _swigt__p_wxHelpProvider
,
28592 _swigt__p_wxTextAttr
,
28593 _swigt__p_wxSimpleHelpProvider
,
28595 _swigt__p_wxListbookEvent
,
28596 _swigt__p_wxNotebookEvent
,
28597 _swigt__p_wxObject
,
28598 _swigt__p_wxCursor
,
28599 _swigt__p_wxKeyEvent
,
28600 _swigt__p_wxWindow
,
28601 _swigt__p_wxString
,
28602 _swigt__p_wxBitmap
,
28603 _swigt__p_wxTreeEvent
,
28604 _swigt__p_wxMouseEvent
,
28605 _swigt__p_wxCommandEvent
,
28606 _swigt__p_wxStaticText
,
28607 _swigt__p_wxControlWithItems
,
28608 _swigt__p_wxToolBarToolBase
,
28609 _swigt__p_wxColour
,
28610 _swigt__p_wxToolBar
,
28611 _swigt__p_wxBookCtrlSizer
,
28612 _swigt__p_wxValidator
,
28617 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28619 static swig_const_info swig_const_table
[] = {
28620 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28621 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28622 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28623 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28624 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28625 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28626 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28627 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28628 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28629 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28630 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28631 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28632 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28633 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28634 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28635 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28636 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28637 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28638 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28639 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28640 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28641 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28642 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28643 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28644 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28645 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28646 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28647 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28648 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28649 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28650 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28651 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28652 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28653 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28654 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28655 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28656 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28657 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28658 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28659 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28660 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28661 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28662 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28663 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28664 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28665 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28666 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28667 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28668 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28669 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28670 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28671 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28672 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28673 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28674 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28675 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28676 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28677 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28678 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28679 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28680 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28681 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28682 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28683 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28684 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28685 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28686 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28687 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28688 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28689 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28690 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28691 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28692 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28693 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28694 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28695 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28696 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28697 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28698 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28699 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28700 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28701 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28702 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28703 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28704 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28705 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28706 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28707 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28708 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28709 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28710 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28711 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28712 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28713 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28714 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28715 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28716 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28717 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28718 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28719 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28720 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28721 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28722 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28723 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28724 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28725 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28726 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28727 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28728 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28729 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28730 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28731 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28732 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28733 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28734 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28735 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28736 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28737 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28738 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28739 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28740 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28741 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28742 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28743 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28744 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28745 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28746 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28747 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28748 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28749 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28750 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28751 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28752 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28753 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28754 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28755 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28756 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28757 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28758 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28759 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28760 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28761 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28762 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28763 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28764 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28765 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28766 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28767 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28768 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28769 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28770 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28771 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28772 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28773 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28774 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28775 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28776 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28777 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28778 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28779 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28780 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28781 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28782 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28783 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28784 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28785 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28786 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28787 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28788 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28789 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28790 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28791 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28792 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28793 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28794 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28795 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28796 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28797 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28798 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28799 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28800 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28801 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28802 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28803 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28804 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28805 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28806 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28807 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28808 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28809 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28810 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28811 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28812 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28813 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28814 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28815 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28816 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28817 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28818 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28819 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28820 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28821 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28822 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28823 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28824 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28825 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28826 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28827 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28828 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28829 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28830 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28831 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28832 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28833 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28834 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28835 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28836 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28837 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28838 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28839 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28840 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28841 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28842 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28843 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28844 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28845 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28846 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28847 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28848 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28849 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28850 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28851 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28852 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28853 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28854 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28855 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28856 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28857 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28858 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28859 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28860 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28861 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28862 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28863 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28864 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28865 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28866 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28867 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28868 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28869 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28879 SWIGEXPORT(void) SWIG_init(void) {
28880 static PyObject
*SWIG_globals
= 0;
28881 static int typeinit
= 0;
28884 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28885 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28886 d
= PyModule_GetDict(m
);
28889 for (i
= 0; swig_types_initial
[i
]; i
++) {
28890 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28894 SWIG_InstallConstants(d
,swig_const_table
);
28896 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28897 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28898 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28899 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28900 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28901 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28902 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28903 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28904 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28905 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28906 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28908 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28909 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28910 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28911 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28912 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28913 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28914 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28915 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28916 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28917 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28918 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28920 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28921 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28922 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28925 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28949 // Map renamed classes back to their common name for OOR
28950 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28952 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28959 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28960 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28961 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28962 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28963 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28964 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28974 // Map renamed classes back to their common name for OOR
28975 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28976 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28978 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28979 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28980 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28982 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");