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_wxTreeItemIdValue swig_types[3]
388 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
389 #define SWIGTYPE_p_wxCheckBox swig_types[5]
390 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
393 #define SWIGTYPE_p_bool swig_types[9]
394 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
395 #define SWIGTYPE_p_wxItemContainer swig_types[11]
396 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
397 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
398 #define SWIGTYPE_p_wxStaticLine swig_types[14]
399 #define SWIGTYPE_p_wxControl swig_types[15]
400 #define SWIGTYPE_p_wxPyControl swig_types[16]
401 #define SWIGTYPE_p_wxGauge swig_types[17]
402 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
403 #define SWIGTYPE_p_wxFont swig_types[19]
404 #define SWIGTYPE_p_wxToggleButton swig_types[20]
405 #define SWIGTYPE_p_wxRadioButton swig_types[21]
406 #define SWIGTYPE_p_wxChoice swig_types[22]
407 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
408 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
409 #define SWIGTYPE_p_int swig_types[25]
410 #define SWIGTYPE_p_wxSize swig_types[26]
411 #define SWIGTYPE_p_wxDC swig_types[27]
412 #define SWIGTYPE_p_wxListView swig_types[28]
413 #define SWIGTYPE_p_wxIcon swig_types[29]
414 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
415 #define SWIGTYPE_p_wxNotebook swig_types[31]
416 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
417 #define SWIGTYPE_p_wxArrayString swig_types[33]
418 #define SWIGTYPE_p_wxListbook swig_types[34]
419 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
420 #define SWIGTYPE_p_wxSlider swig_types[36]
421 #define SWIGTYPE_p_wxStaticBox swig_types[37]
422 #define SWIGTYPE_p_wxArrayInt swig_types[38]
423 #define SWIGTYPE_p_wxContextHelp swig_types[39]
424 #define SWIGTYPE_p_long swig_types[40]
425 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
426 #define SWIGTYPE_p_wxListEvent swig_types[42]
427 #define SWIGTYPE_p_wxListBox swig_types[43]
428 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
429 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
430 #define SWIGTYPE_p_wxSpinButton swig_types[46]
431 #define SWIGTYPE_p_wxButton swig_types[47]
432 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
433 #define SWIGTYPE_p_wxRect swig_types[49]
434 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
435 #define SWIGTYPE_p_wxRadioBox swig_types[51]
436 #define SWIGTYPE_p_wxScrollBar swig_types[52]
437 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
438 #define SWIGTYPE_p_wxComboBox swig_types[54]
439 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
440 #define SWIGTYPE_p_wxListItem swig_types[56]
441 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
442 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
443 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
444 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
445 #define SWIGTYPE_p_wxImageList swig_types[61]
446 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
447 #define SWIGTYPE_p_wxTextAttr swig_types[63]
448 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
449 #define SWIGTYPE_p_wxPoint swig_types[65]
450 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
451 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
452 #define SWIGTYPE_p_wxObject swig_types[68]
453 #define SWIGTYPE_p_wxCursor swig_types[69]
454 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
455 #define SWIGTYPE_p_wxWindow swig_types[71]
456 #define SWIGTYPE_p_wxString swig_types[72]
457 #define SWIGTYPE_p_wxBitmap swig_types[73]
458 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
459 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
460 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
461 #define SWIGTYPE_p_wxStaticText swig_types[77]
462 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
463 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
464 #define SWIGTYPE_p_wxColour swig_types[80]
465 #define SWIGTYPE_p_wxToolBar swig_types[81]
466 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
467 #define SWIGTYPE_p_wxValidator swig_types[83]
468 static swig_type_info
*swig_types
[85];
470 /* -------- TYPES TABLE (END) -------- */
473 /*-----------------------------------------------
474 @(target):= _controls.so
475 ------------------------------------------------*/
476 #define SWIG_init init_controls
478 #define SWIG_name "_controls"
480 #include "wx/wxPython/wxPython.h"
481 #include "wx/wxPython/pyclasses.h"
483 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
484 static const wxString
wxPyEmptyString(wxEmptyString
);
485 static const wxString
wxPyControlNameStr(wxControlNameStr
);
486 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
487 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
488 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
489 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
490 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
491 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
492 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
493 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
495 #include <wx/checklst.h>
498 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
499 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
501 wxPyClientData
* data
= new wxPyClientData(clientData
);
502 self
->Insert(item
, pos
, data
);
504 self
->Insert(item
, pos
);
506 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
508 self
->GetSelections(lst
);
509 PyObject
*tup
= PyTuple_New(lst
.GetCount());
510 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
511 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
515 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
517 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
523 } else if (target
== Py_None
) {
527 if (!PyTuple_Check(target
)) {
529 target
= PyTuple_New(1);
530 PyTuple_SetItem(target
, 0, o2
);
533 PyTuple_SetItem(o3
, 0, o
);
536 target
= PySequence_Concat(o2
, o3
);
543 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
544 self
->AppendText(text
);
546 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
547 return self
->GetValue().Mid(from
, to
- from
);
549 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
550 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
551 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
552 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
553 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
555 #include <wx/slider.h>
558 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
559 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
561 #if defined(__WXMAC__) || defined(__WXX11__)
562 // implement dummy classes and such for wxMac
564 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
566 class wxToggleButton
: public wxControl
569 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
570 const wxPoint
&, const wxSize
&, long,
571 const wxValidator
&, const wxString
&)
572 { wxPyRaiseNotImplemented(); }
575 { wxPyRaiseNotImplemented(); }
579 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
580 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
581 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
582 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
584 Py_INCREF(udata
->m_obj
);
591 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
592 self
->SetClientData(new wxPyUserData(clientData
));
594 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
){
595 wxPyUserData
* udata
= NULL
;
596 if (clientData
&& clientData
!= Py_None
)
597 udata
= new wxPyUserData(clientData
);
598 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
599 shortHelp
, longHelp
, udata
);
601 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
){
602 wxPyUserData
* udata
= NULL
;
603 if (clientData
&& clientData
!= Py_None
)
604 udata
= new wxPyUserData(clientData
);
605 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
606 shortHelp
, longHelp
, udata
);
608 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
609 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
611 Py_INCREF(udata
->m_obj
);
618 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
619 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
622 #include <wx/listctrl.h>
625 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
626 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
627 // Python aware sorting function for wxPyListCtrl
628 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
630 PyObject
* func
= (PyObject
*)funcPtr
;
631 wxPyBeginBlockThreads();
633 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
634 PyObject
* result
= PyEval_CallObject(func
, args
);
637 retval
= PyInt_AsLong(result
);
641 wxPyEndBlockThreads();
645 // C++ Version of a Python aware class
646 class wxPyListCtrl
: public wxListCtrl
{
647 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
649 wxPyListCtrl() : wxListCtrl() {}
650 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
654 const wxValidator
& validator
,
655 const wxString
& name
) :
656 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
658 bool Create(wxWindow
* parent
, wxWindowID id
,
662 const wxValidator
& validator
,
663 const wxString
& name
) {
664 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
667 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
668 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
669 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
674 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
676 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
677 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
678 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
680 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
682 item
.SetMask( wxLIST_MASK_STATE
|
690 if (self
->GetColumn(col
, item
))
691 return new wxListItem(item
);
695 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
696 wxListItem
* info
= new wxListItem
;
697 info
->m_itemId
= itemId
;
699 info
->m_mask
= 0xFFFF;
700 self
->GetItem(*info
);
703 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
705 self
->GetItemPosition(item
, pos
);
708 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
710 self
->GetItemRect(item
, rect
, code
);
713 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
714 if (!PyCallable_Check(func
))
716 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
718 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
726 #include <wx/treectrl.h>
727 #include "wx/wxPython/pytree.h"
729 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
730 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
731 if (!other
) return False
;
732 return *self
== *other
;
734 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
735 if (!other
) return True
;
736 return *self
!= *other
;
738 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
739 // C++ version of Python aware wxTreeCtrl
740 class wxPyTreeCtrl
: public wxTreeCtrl
{
741 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
743 wxPyTreeCtrl() : wxTreeCtrl() {}
744 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
748 const wxValidator
& validator
,
749 const wxString
& name
) :
750 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
752 bool Create(wxWindow
*parent
, wxWindowID id
,
756 const wxValidator
& validator
,
757 const wxString
& name
) {
758 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
762 int OnCompareItems(const wxTreeItemId
& item1
,
763 const wxTreeItemId
& item2
) {
766 wxPyBeginBlockThreads();
767 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
768 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
769 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
770 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
774 wxPyEndBlockThreads();
776 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
782 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
785 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
786 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
788 data
= new wxPyTreeItemData();
789 data
->SetId(item
); // set the id
790 self
->SetItemData(item
, data
);
794 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
795 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
797 data
= new wxPyTreeItemData();
798 data
->SetId(item
); // set the id
799 self
->SetItemData(item
, data
);
801 return data
->GetData();
803 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
804 data
->SetId(item
); // set the id
805 self
->SetItemData(item
, data
);
807 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
808 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
810 data
= new wxPyTreeItemData(obj
);
811 data
->SetId(item
); // set the id
812 self
->SetItemData(item
, data
);
816 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
817 wxPyBeginBlockThreads();
818 PyObject
* rval
= PyList_New(0);
819 wxArrayTreeItemIds array
;
821 num
= self
->GetSelections(array
);
822 for (x
=0; x
< num
; x
++) {
823 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
824 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
825 PyList_Append(rval
, item
);
827 wxPyEndBlockThreads();
830 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
831 wxTreeItemIdValue cookie
= 0;
832 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
833 wxPyBeginBlockThreads();
834 PyObject
* tup
= PyTuple_New(2);
835 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
836 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
837 wxPyEndBlockThreads();
840 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
841 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
842 wxPyBeginBlockThreads();
843 PyObject
* tup
= PyTuple_New(2);
844 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
845 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
846 wxPyEndBlockThreads();
849 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
851 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
852 wxPyBeginBlockThreads();
853 wxRect
* r
= new wxRect(rect
);
854 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
855 wxPyEndBlockThreads();
861 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
862 // C++ version of Python aware wxControl
863 class wxPyControl
: public wxControl
865 DECLARE_DYNAMIC_CLASS(wxPyControl
)
867 wxPyControl() : wxControl() {}
868 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
869 const wxPoint
& pos
= wxDefaultPosition
,
870 const wxSize
& size
= wxDefaultSize
,
872 const wxValidator
& validator
=wxDefaultValidator
,
873 const wxString
& name
= wxPyControlNameStr
)
874 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
877 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
878 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
879 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
880 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
882 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
883 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
884 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
886 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
887 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
889 DEC_PYCALLBACK__(InitDialog
);
890 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
891 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
892 DEC_PYCALLBACK_BOOL_(Validate
);
894 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
895 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
896 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
898 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
899 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
904 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
906 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
907 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
909 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
913 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
915 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
916 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
918 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
919 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
920 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
921 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
923 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
924 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
925 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
928 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
933 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
935 #include <wx/generic/dragimgg.h>
940 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
946 static PyObject
*_wrap_ButtonNameStr_get() {
951 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
953 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
960 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 wxWindow
*arg1
= (wxWindow
*) 0 ;
965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
969 long arg6
= (long) 0 ;
970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
972 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
979 PyObject
* obj0
= 0 ;
980 PyObject
* obj2
= 0 ;
981 PyObject
* obj3
= 0 ;
982 PyObject
* obj4
= 0 ;
983 PyObject
* obj6
= 0 ;
984 PyObject
* obj7
= 0 ;
986 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
992 arg3
= wxString_in_helper(obj2
);
993 if (arg3
== NULL
) SWIG_fail
;
999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1009 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1016 arg8
= wxString_in_helper(obj7
);
1017 if (arg8
== NULL
) SWIG_fail
;
1022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1025 wxPyEndAllowThreads(__tstate
);
1026 if (PyErr_Occurred()) SWIG_fail
;
1029 resultobj
= wxPyMake_wxObject(result
);
1053 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
*resultobj
;
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 result
= (wxButton
*)new wxButton();
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1069 resultobj
= wxPyMake_wxObject(result
);
1077 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
*resultobj
;
1079 wxButton
*arg1
= (wxButton
*) 0 ;
1080 wxWindow
*arg2
= (wxWindow
*) 0 ;
1082 wxString
*arg4
= 0 ;
1083 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1084 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1085 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1086 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1087 long arg7
= (long) 0 ;
1088 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1089 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1090 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1091 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1093 bool temp4
= False
;
1096 bool temp9
= False
;
1097 PyObject
* obj0
= 0 ;
1098 PyObject
* obj1
= 0 ;
1099 PyObject
* obj3
= 0 ;
1100 PyObject
* obj4
= 0 ;
1101 PyObject
* obj5
= 0 ;
1102 PyObject
* obj7
= 0 ;
1103 PyObject
* obj8
= 0 ;
1105 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1112 arg4
= wxString_in_helper(obj3
);
1113 if (arg4
== NULL
) SWIG_fail
;
1119 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1125 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1129 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1136 arg9
= wxString_in_helper(obj8
);
1137 if (arg9
== NULL
) SWIG_fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1148 resultobj
= PyInt_FromLong((long)result
);
1171 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxButton
*arg1
= (wxButton
*) 0 ;
1174 PyObject
* obj0
= 0 ;
1176 (char *) "self", NULL
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 (arg1
)->SetDefault();
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 Py_INCREF(Py_None
); resultobj
= Py_None
;
1195 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxButton
*arg1
= (wxButton
*) 0 ;
1198 wxBitmap
*arg2
= 0 ;
1199 PyObject
* obj0
= 0 ;
1200 PyObject
* obj1
= 0 ;
1202 (char *) "self",(char *) "bitmap", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1218 Py_INCREF(Py_None
); resultobj
= Py_None
;
1225 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
*resultobj
;
1227 wxButton
*arg1
= (wxButton
*) 0 ;
1230 PyObject
* obj0
= 0 ;
1232 (char *) "self",(char *) "x",(char *) "y", NULL
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 (arg1
)->SetImageMargins(arg2
,arg3
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 Py_INCREF(Py_None
); resultobj
= Py_None
;
1251 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
*resultobj
;
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 result
= wxButton::GetDefaultSize();
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1268 resultptr
= new wxSize((wxSize
&) result
);
1269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1277 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1280 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1282 return Py_BuildValue((char *)"");
1284 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1286 wxWindow
*arg1
= (wxWindow
*) 0 ;
1288 wxBitmap
*arg3
= 0 ;
1289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1293 long arg6
= (long) wxBU_AUTODRAW
;
1294 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1295 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1296 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1297 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1298 wxBitmapButton
*result
;
1301 bool temp8
= False
;
1302 PyObject
* obj0
= 0 ;
1303 PyObject
* obj2
= 0 ;
1304 PyObject
* obj3
= 0 ;
1305 PyObject
* obj4
= 0 ;
1306 PyObject
* obj6
= 0 ;
1307 PyObject
* obj7
= 0 ;
1309 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1314 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1331 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1338 arg8
= wxString_in_helper(obj7
);
1339 if (arg8
== NULL
) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 resultobj
= wxPyMake_wxObject(result
);
1367 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxBitmapButton
*result
;
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 result
= (wxBitmapButton
*)new wxBitmapButton();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1383 resultobj
= wxPyMake_wxObject(result
);
1391 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
*resultobj
;
1393 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1394 wxWindow
*arg2
= (wxWindow
*) 0 ;
1396 wxBitmap
*arg4
= 0 ;
1397 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1398 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1399 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1400 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1401 long arg7
= (long) wxBU_AUTODRAW
;
1402 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1403 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1404 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1405 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1409 bool temp9
= False
;
1410 PyObject
* obj0
= 0 ;
1411 PyObject
* obj1
= 0 ;
1412 PyObject
* obj3
= 0 ;
1413 PyObject
* obj4
= 0 ;
1414 PyObject
* obj5
= 0 ;
1415 PyObject
* obj7
= 0 ;
1416 PyObject
* obj8
= 0 ;
1418 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1424 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1431 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1437 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1441 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1448 arg9
= wxString_in_helper(obj8
);
1449 if (arg9
== NULL
) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 resultobj
= PyInt_FromLong((long)result
);
1475 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "self", NULL
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 result
= (arg1
)->GetBitmapLabel();
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1494 wxBitmap
* resultptr
;
1495 resultptr
= new wxBitmap((wxBitmap
&) result
);
1496 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1504 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
*resultobj
;
1506 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= (arg1
)->GetBitmapDisabled();
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1523 wxBitmap
* resultptr
;
1524 resultptr
= new wxBitmap((wxBitmap
&) result
);
1525 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1533 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "self", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (arg1
)->GetBitmapFocus();
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1552 wxBitmap
* resultptr
;
1553 resultptr
= new wxBitmap((wxBitmap
&) result
);
1554 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1562 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1568 (char *) "self", NULL
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (arg1
)->GetBitmapSelected();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1581 wxBitmap
* resultptr
;
1582 resultptr
= new wxBitmap((wxBitmap
&) result
);
1583 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1591 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1594 wxBitmap
*arg2
= 0 ;
1595 PyObject
* obj0
= 0 ;
1596 PyObject
* obj1
= 0 ;
1598 (char *) "self",(char *) "bitmap", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1614 Py_INCREF(Py_None
); resultobj
= Py_None
;
1621 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
*resultobj
;
1623 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1624 wxBitmap
*arg2
= 0 ;
1625 PyObject
* obj0
= 0 ;
1626 PyObject
* obj1
= 0 ;
1628 (char *) "self",(char *) "bitmap", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1644 Py_INCREF(Py_None
); resultobj
= Py_None
;
1651 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1654 wxBitmap
*arg2
= 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1658 (char *) "self",(char *) "bitmap", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1684 wxBitmap
*arg2
= 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1688 (char *) "self",(char *) "bitmap", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self",(char *) "x",(char *) "y", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 (arg1
)->SetMargins(arg2
,arg3
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1755 resultobj
= PyInt_FromLong((long)result
);
1762 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
*resultobj
;
1764 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1766 PyObject
* obj0
= 0 ;
1768 (char *) "self", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) SWIG_fail
;
1780 resultobj
= PyInt_FromLong((long)result
);
1787 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1790 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1792 return Py_BuildValue((char *)"");
1794 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1795 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1800 static PyObject
*_wrap_CheckBoxNameStr_get() {
1805 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1807 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1814 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxWindow
*arg1
= (wxWindow
*) 0 ;
1818 wxString
*arg3
= 0 ;
1819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1823 long arg6
= (long) 0 ;
1824 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1825 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1826 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1827 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1829 bool temp3
= False
;
1832 bool temp8
= False
;
1833 PyObject
* obj0
= 0 ;
1834 PyObject
* obj2
= 0 ;
1835 PyObject
* obj3
= 0 ;
1836 PyObject
* obj4
= 0 ;
1837 PyObject
* obj6
= 0 ;
1838 PyObject
* obj7
= 0 ;
1840 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1846 arg3
= wxString_in_helper(obj2
);
1847 if (arg3
== NULL
) SWIG_fail
;
1853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1859 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1863 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1870 arg8
= wxString_in_helper(obj7
);
1871 if (arg8
== NULL
) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1905 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= (wxCheckBox
*)new wxCheckBox();
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1927 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1930 wxWindow
*arg2
= (wxWindow
*) 0 ;
1932 wxString
*arg4
= 0 ;
1933 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1934 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1935 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1936 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1937 long arg7
= (long) 0 ;
1938 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1939 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1940 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1941 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1943 bool temp4
= False
;
1946 bool temp9
= False
;
1947 PyObject
* obj0
= 0 ;
1948 PyObject
* obj1
= 0 ;
1949 PyObject
* obj3
= 0 ;
1950 PyObject
* obj4
= 0 ;
1951 PyObject
* obj5
= 0 ;
1952 PyObject
* obj7
= 0 ;
1953 PyObject
* obj8
= 0 ;
1955 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 arg4
= wxString_in_helper(obj3
);
1963 if (arg4
== NULL
) SWIG_fail
;
1969 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1975 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1979 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1981 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1986 arg9
= wxString_in_helper(obj8
);
1987 if (arg9
== NULL
) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 resultobj
= PyInt_FromLong((long)result
);
2021 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2027 (char *) "self", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (bool)(arg1
)->GetValue();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= PyInt_FromLong((long)result
);
2046 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2052 (char *) "self", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 result
= (bool)(arg1
)->IsChecked();
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 resultobj
= PyInt_FromLong((long)result
);
2071 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2076 PyObject
* obj1
= 0 ;
2078 (char *) "self",(char *) "state", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2084 arg2
= (bool const) SPyObj_AsBool(obj1
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 (arg1
)->SetValue(arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2107 (char *) "self", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= PyInt_FromLong((long)result
);
2126 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2132 (char *) "self",(char *) "state", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= PyInt_FromLong((long)result
);
2176 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2182 (char *) "self", NULL
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 resultobj
= PyInt_FromLong((long)result
);
2201 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2204 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2206 return Py_BuildValue((char *)"");
2208 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2209 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2214 static PyObject
*_wrap_ChoiceNameStr_get() {
2219 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2221 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2228 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxWindow
*arg1
= (wxWindow
*) 0 ;
2232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2236 int arg5
= (int) 0 ;
2237 wxString
*arg6
= (wxString
*) NULL
;
2238 long arg7
= (long) 0 ;
2239 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2240 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2241 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2242 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2246 bool temp8
= False
;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj2
= 0 ;
2249 PyObject
* obj3
= 0 ;
2250 PyObject
* obj4
= 0 ;
2251 PyObject
* obj6
= 0 ;
2252 PyObject
* obj7
= 0 ;
2254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2268 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2273 arg5
= PyList_Size(obj4
);
2274 arg6
= wxString_LIST_helper(obj4
);
2275 if (arg6
== NULL
) SWIG_fail
;
2279 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2286 arg9
= wxString_in_helper(obj7
);
2287 if (arg9
== NULL
) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2300 if (arg6
) delete [] arg6
;
2309 if (arg6
) delete [] arg6
;
2319 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (wxChoice
*)new wxChoice();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2341 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxChoice
*arg1
= (wxChoice
*) 0 ;
2344 wxWindow
*arg2
= (wxWindow
*) 0 ;
2346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2350 int arg6
= (int) 0 ;
2351 wxString
*arg7
= (wxString
*) NULL
;
2352 long arg8
= (long) 0 ;
2353 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2354 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2355 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2356 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2360 bool temp9
= False
;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2363 PyObject
* obj3
= 0 ;
2364 PyObject
* obj4
= 0 ;
2365 PyObject
* obj5
= 0 ;
2366 PyObject
* obj7
= 0 ;
2367 PyObject
* obj8
= 0 ;
2369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2389 arg6
= PyList_Size(obj5
);
2390 arg7
= wxString_LIST_helper(obj5
);
2391 if (arg7
== NULL
) SWIG_fail
;
2395 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2402 arg10
= wxString_in_helper(obj8
);
2403 if (arg10
== NULL
) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= PyInt_FromLong((long)result
);
2416 if (arg7
) delete [] arg7
;
2425 if (arg7
) delete [] arg7
;
2435 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 wxChoice
*arg1
= (wxChoice
*) 0 ;
2439 PyObject
* obj0
= 0 ;
2441 (char *) "self", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= (int)(arg1
)->GetColumns();
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= PyInt_FromLong((long)result
);
2460 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxChoice
*arg1
= (wxChoice
*) 0 ;
2463 int arg2
= (int) (int)1 ;
2464 PyObject
* obj0
= 0 ;
2466 (char *) "self",(char *) "n", NULL
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 (arg1
)->SetColumns(arg2
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2485 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxChoice
*arg1
= (wxChoice
*) 0 ;
2489 PyObject
* obj0
= 0 ;
2491 (char *) "self",(char *) "n", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 (arg1
)->SetSelection(arg2
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2503 Py_INCREF(Py_None
); resultobj
= Py_None
;
2510 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 wxChoice
*arg1
= (wxChoice
*) 0 ;
2513 wxString
*arg2
= 0 ;
2514 bool temp2
= False
;
2515 PyObject
* obj0
= 0 ;
2516 PyObject
* obj1
= 0 ;
2518 (char *) "self",(char *) "string", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 arg2
= wxString_in_helper(obj1
);
2525 if (arg2
== NULL
) SWIG_fail
;
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2535 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxChoice
*arg1
= (wxChoice
*) 0 ;
2554 wxString
*arg3
= 0 ;
2555 bool temp3
= False
;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj2
= 0 ;
2559 (char *) "self",(char *) "n",(char *) "s", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2565 arg3
= wxString_in_helper(obj2
);
2566 if (arg3
== NULL
) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2594 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2596 return Py_BuildValue((char *)"");
2598 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2599 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2604 static PyObject
*_wrap_ComboBoxNameStr_get() {
2609 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2611 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2618 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxWindow
*arg1
= (wxWindow
*) 0 ;
2622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2628 int arg6
= (int) 0 ;
2629 wxString
*arg7
= (wxString
*) NULL
;
2630 long arg8
= (long) 0 ;
2631 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2633 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2634 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2636 bool temp3
= False
;
2639 bool temp9
= False
;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj2
= 0 ;
2642 PyObject
* obj3
= 0 ;
2643 PyObject
* obj4
= 0 ;
2644 PyObject
* obj5
= 0 ;
2645 PyObject
* obj7
= 0 ;
2646 PyObject
* obj8
= 0 ;
2648 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2655 arg3
= wxString_in_helper(obj2
);
2656 if (arg3
== NULL
) SWIG_fail
;
2663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2674 arg6
= PyList_Size(obj5
);
2675 arg7
= wxString_LIST_helper(obj5
);
2676 if (arg7
== NULL
) SWIG_fail
;
2680 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2687 arg10
= wxString_in_helper(obj8
);
2688 if (arg10
== NULL
) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2705 if (arg7
) delete [] arg7
;
2718 if (arg7
) delete [] arg7
;
2728 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (wxComboBox
*)new wxComboBox();
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2750 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2753 wxWindow
*arg2
= (wxWindow
*) 0 ;
2755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2761 int arg7
= (int) 0 ;
2762 wxString
*arg8
= (wxString
*) NULL
;
2763 long arg9
= (long) 0 ;
2764 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2765 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2766 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2767 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2769 bool temp4
= False
;
2772 bool temp10
= False
;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2775 PyObject
* obj3
= 0 ;
2776 PyObject
* obj4
= 0 ;
2777 PyObject
* obj5
= 0 ;
2778 PyObject
* obj6
= 0 ;
2779 PyObject
* obj8
= 0 ;
2780 PyObject
* obj9
= 0 ;
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2790 arg4
= wxString_in_helper(obj3
);
2791 if (arg4
== NULL
) SWIG_fail
;
2798 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2804 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2809 arg7
= PyList_Size(obj6
);
2810 arg8
= wxString_LIST_helper(obj6
);
2811 if (arg8
== NULL
) SWIG_fail
;
2815 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2816 if (arg10
== NULL
) {
2817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2822 arg11
= wxString_in_helper(obj9
);
2823 if (arg11
== NULL
) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= PyInt_FromLong((long)result
);
2840 if (arg8
) delete [] arg8
;
2853 if (arg8
) delete [] arg8
;
2863 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2867 PyObject
* obj0
= 0 ;
2869 (char *) "self", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= ((wxComboBox
const *)arg1
)->GetValue();
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2894 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2897 wxString
*arg2
= 0 ;
2898 bool temp2
= False
;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "self",(char *) "value", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2908 arg2
= wxString_in_helper(obj1
);
2909 if (arg2
== NULL
) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 (arg1
)->SetValue((wxString
const &)*arg2
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 Py_INCREF(Py_None
); resultobj
= Py_None
;
2934 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2937 PyObject
* obj0
= 0 ;
2939 (char *) "self", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 Py_INCREF(Py_None
); resultobj
= Py_None
;
2958 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 Py_INCREF(Py_None
); resultobj
= Py_None
;
2982 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "self", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
2999 Py_INCREF(Py_None
); resultobj
= Py_None
;
3006 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self",(char *) "pos", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 (arg1
)->SetInsertionPoint(arg2
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 Py_INCREF(Py_None
); resultobj
= Py_None
;
3031 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3037 (char *) "self", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= PyInt_FromLong((long)result
);
3056 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3060 PyObject
* obj0
= 0 ;
3062 (char *) "self", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= PyInt_FromLong((long)result
);
3081 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3086 wxString
*arg4
= 0 ;
3087 bool temp4
= False
;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj3
= 0 ;
3091 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3097 arg4
= wxString_in_helper(obj3
);
3098 if (arg4
== NULL
) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 Py_INCREF(Py_None
); resultobj
= Py_None
;
3123 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
*resultobj
;
3125 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3129 (char *) "self",(char *) "n", NULL
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 (arg1
)->SetSelection(arg2
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3148 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self",(char *) "from",(char *) "to", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) 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
)->SetSelection(arg2
,arg3
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3179 PyObject
* obj1
= 0 ;
3181 (char *) "self",(char *) "editable", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 arg2
= (bool) SPyObj_AsBool(obj1
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 (arg1
)->SetEditable(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 (arg1
)->SetInsertionPointEnd();
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3221 Py_INCREF(Py_None
); resultobj
= Py_None
;
3228 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3233 PyObject
* obj0
= 0 ;
3235 (char *) "self",(char *) "from",(char *) "to", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->Remove(arg2
,arg3
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3259 return Py_BuildValue((char *)"");
3261 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3262 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3267 static PyObject
*_wrap_GaugeNameStr_get() {
3272 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3274 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3281 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxWindow
*arg1
= (wxWindow
*) 0 ;
3286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3290 long arg6
= (long) wxGA_HORIZONTAL
;
3291 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3292 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3293 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3294 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3298 bool temp8
= False
;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj3
= 0 ;
3301 PyObject
* obj4
= 0 ;
3302 PyObject
* obj6
= 0 ;
3303 PyObject
* obj7
= 0 ;
3305 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3323 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3330 arg8
= wxString_in_helper(obj7
);
3331 if (arg8
== NULL
) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3357 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (wxGauge
*)new wxGauge();
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3379 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxGauge
*arg1
= (wxGauge
*) 0 ;
3382 wxWindow
*arg2
= (wxWindow
*) 0 ;
3385 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3386 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3387 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3388 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3389 long arg7
= (long) wxGA_HORIZONTAL
;
3390 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3391 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3392 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3393 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3397 bool temp9
= False
;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3400 PyObject
* obj4
= 0 ;
3401 PyObject
* obj5
= 0 ;
3402 PyObject
* obj7
= 0 ;
3403 PyObject
* obj8
= 0 ;
3405 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3424 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3431 arg9
= wxString_in_helper(obj8
);
3432 if (arg9
== NULL
) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= PyInt_FromLong((long)result
);
3458 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxGauge
*arg1
= (wxGauge
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3464 (char *) "self",(char *) "range", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 (arg1
)->SetRange(arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 Py_INCREF(Py_None
); resultobj
= Py_None
;
3483 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxGauge
*arg1
= (wxGauge
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3489 (char *) "self", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= PyInt_FromLong((long)result
);
3508 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3510 wxGauge
*arg1
= (wxGauge
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self",(char *) "pos", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 (arg1
)->SetValue(arg2
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxGauge
*arg1
= (wxGauge
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3539 (char *) "self", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= PyInt_FromLong((long)result
);
3558 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxGauge
*arg1
= (wxGauge
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= PyInt_FromLong((long)result
);
3583 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxGauge
*arg1
= (wxGauge
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3589 (char *) "self",(char *) "w", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 (arg1
)->SetShadowWidth(arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxGauge
*arg1
= (wxGauge
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3614 (char *) "self", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= PyInt_FromLong((long)result
);
3633 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxGauge
*arg1
= (wxGauge
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3639 (char *) "self",(char *) "w", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->SetBezelFace(arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxGauge
*arg1
= (wxGauge
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= PyInt_FromLong((long)result
);
3683 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3686 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3688 return Py_BuildValue((char *)"");
3690 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3691 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3696 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3701 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3703 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3710 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3711 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3716 static PyObject
*_wrap_StaticBoxNameStr_get() {
3721 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3723 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3730 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3731 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3736 static PyObject
*_wrap_StaticTextNameStr_get() {
3741 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3743 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3750 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 wxString
*arg3
= 0 ;
3755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3759 long arg6
= (long) 0 ;
3760 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3762 wxStaticBox
*result
;
3763 bool temp3
= False
;
3766 bool temp7
= False
;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj6
= 0 ;
3773 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3779 arg3
= wxString_in_helper(obj2
);
3780 if (arg3
== NULL
) SWIG_fail
;
3786 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3792 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3797 arg7
= wxString_in_helper(obj6
);
3798 if (arg7
== NULL
) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= wxPyMake_wxObject(result
);
3834 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxStaticBox
*result
;
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxStaticBox
*)new wxStaticBox();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= wxPyMake_wxObject(result
);
3858 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3861 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 wxString
*arg4
= 0 ;
3864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3868 long arg7
= (long) 0 ;
3869 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3872 bool temp4
= False
;
3875 bool temp8
= False
;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj3
= 0 ;
3879 PyObject
* obj4
= 0 ;
3880 PyObject
* obj5
= 0 ;
3881 PyObject
* obj7
= 0 ;
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3890 arg4
= wxString_in_helper(obj3
);
3891 if (arg4
== NULL
) SWIG_fail
;
3897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3908 arg8
= wxString_in_helper(obj7
);
3909 if (arg8
== NULL
) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= PyInt_FromLong((long)result
);
3943 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3946 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3948 return Py_BuildValue((char *)"");
3950 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxWindow
*arg1
= (wxWindow
*) 0 ;
3954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3958 long arg5
= (long) wxLI_HORIZONTAL
;
3959 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3960 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3961 wxStaticLine
*result
;
3964 bool temp6
= False
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj2
= 0 ;
3967 PyObject
* obj3
= 0 ;
3968 PyObject
* obj5
= 0 ;
3970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3989 arg6
= wxString_in_helper(obj5
);
3990 if (arg6
== NULL
) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4016 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxStaticLine
*result
;
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (wxStaticLine
*)new wxStaticLine();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4038 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4041 wxWindow
*arg2
= (wxWindow
*) 0 ;
4043 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4044 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4045 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4046 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4047 long arg6
= (long) wxLI_HORIZONTAL
;
4048 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4049 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4053 bool temp7
= False
;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj3
= 0 ;
4057 PyObject
* obj4
= 0 ;
4058 PyObject
* obj6
= 0 ;
4060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4080 arg7
= wxString_in_helper(obj6
);
4081 if (arg7
== NULL
) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= PyInt_FromLong((long)result
);
4107 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= PyInt_FromLong((long)result
);
4132 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (int)wxStaticLine::GetDefaultSize();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= PyInt_FromLong((long)result
);
4154 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4157 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4159 return Py_BuildValue((char *)"");
4161 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxWindow
*arg1
= (wxWindow
*) 0 ;
4165 wxString
*arg3
= 0 ;
4166 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4167 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4168 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4169 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4170 long arg6
= (long) 0 ;
4171 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4173 wxStaticText
*result
;
4174 bool temp3
= False
;
4177 bool temp7
= False
;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj6
= 0 ;
4184 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 arg3
= wxString_in_helper(obj2
);
4191 if (arg3
== NULL
) SWIG_fail
;
4197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4208 arg7
= wxString_in_helper(obj6
);
4209 if (arg7
== NULL
) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4243 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxStaticText
*result
;
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (wxStaticText
*)new wxStaticText();
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4265 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4268 wxWindow
*arg2
= (wxWindow
*) 0 ;
4270 wxString
*arg4
= 0 ;
4271 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4272 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4273 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4274 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4275 long arg7
= (long) 0 ;
4276 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4279 bool temp4
= False
;
4282 bool temp8
= False
;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 PyObject
* obj3
= 0 ;
4286 PyObject
* obj4
= 0 ;
4287 PyObject
* obj5
= 0 ;
4288 PyObject
* obj7
= 0 ;
4290 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4297 arg4
= wxString_in_helper(obj3
);
4298 if (arg4
== NULL
) SWIG_fail
;
4304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4315 arg8
= wxString_in_helper(obj7
);
4316 if (arg8
== NULL
) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= PyInt_FromLong((long)result
);
4350 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4353 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4355 return Py_BuildValue((char *)"");
4357 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxWindow
*arg1
= (wxWindow
*) 0 ;
4361 wxBitmap
*arg3
= 0 ;
4362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4366 long arg6
= (long) 0 ;
4367 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4369 wxStaticBitmap
*result
;
4372 bool temp7
= False
;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj6
= 0 ;
4379 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4384 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4402 arg7
= wxString_in_helper(obj6
);
4403 if (arg7
== NULL
) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4429 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxStaticBitmap
*result
;
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4451 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4454 wxWindow
*arg2
= (wxWindow
*) 0 ;
4456 wxBitmap
*arg4
= 0 ;
4457 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4458 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4459 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4460 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4461 long arg7
= (long) 0 ;
4462 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4467 bool temp8
= False
;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4470 PyObject
* obj3
= 0 ;
4471 PyObject
* obj4
= 0 ;
4472 PyObject
* obj5
= 0 ;
4473 PyObject
* obj7
= 0 ;
4475 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4481 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4499 arg8
= wxString_in_helper(obj7
);
4500 if (arg8
== NULL
) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= PyInt_FromLong((long)result
);
4526 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "self", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (arg1
)->GetBitmap();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 wxBitmap
* resultptr
;
4546 resultptr
= new wxBitmap((wxBitmap
&) result
);
4547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4555 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4558 wxBitmap
*arg2
= 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "bitmap", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4592 (char *) "self",(char *) "icon", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4618 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4620 return Py_BuildValue((char *)"");
4622 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4623 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4628 static PyObject
*_wrap_ListBoxNameStr_get() {
4633 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4635 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4642 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxWindow
*arg1
= (wxWindow
*) 0 ;
4646 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4647 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4648 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4649 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4650 int arg5
= (int) 0 ;
4651 wxString
*arg6
= (wxString
*) NULL
;
4652 long arg7
= (long) 0 ;
4653 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4654 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4655 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4656 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4660 bool temp8
= False
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj2
= 0 ;
4663 PyObject
* obj3
= 0 ;
4664 PyObject
* obj4
= 0 ;
4665 PyObject
* obj6
= 0 ;
4666 PyObject
* obj7
= 0 ;
4668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4687 arg5
= PyList_Size(obj4
);
4688 arg6
= wxString_LIST_helper(obj4
);
4689 if (arg6
== NULL
) SWIG_fail
;
4693 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4700 arg9
= wxString_in_helper(obj7
);
4701 if (arg9
== NULL
) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4714 if (arg6
) delete [] arg6
;
4723 if (arg6
) delete [] arg6
;
4733 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (wxListBox
*)new wxListBox();
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4755 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxListBox
*arg1
= (wxListBox
*) 0 ;
4758 wxWindow
*arg2
= (wxWindow
*) 0 ;
4760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4764 int arg6
= (int) 0 ;
4765 wxString
*arg7
= (wxString
*) NULL
;
4766 long arg8
= (long) 0 ;
4767 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4768 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4769 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4770 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4774 bool temp9
= False
;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj3
= 0 ;
4778 PyObject
* obj4
= 0 ;
4779 PyObject
* obj5
= 0 ;
4780 PyObject
* obj7
= 0 ;
4781 PyObject
* obj8
= 0 ;
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4803 arg6
= PyList_Size(obj5
);
4804 arg7
= wxString_LIST_helper(obj5
);
4805 if (arg7
== NULL
) SWIG_fail
;
4809 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4816 arg10
= wxString_in_helper(obj8
);
4817 if (arg10
== NULL
) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= PyInt_FromLong((long)result
);
4830 if (arg7
) delete [] arg7
;
4839 if (arg7
) delete [] arg7
;
4849 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxListBox
*arg1
= (wxListBox
*) 0 ;
4852 wxString
*arg2
= 0 ;
4854 PyObject
*arg4
= (PyObject
*) NULL
;
4855 bool temp2
= False
;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj3
= 0 ;
4860 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4866 arg2
= wxString_in_helper(obj1
);
4867 if (arg2
== NULL
) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxListBox
*arg1
= (wxListBox
*) 0 ;
4898 wxArrayString
*arg2
= 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "items",(char *) "pos", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4909 if (! PySequence_Check(obj1
)) {
4910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4913 arg2
= new wxArrayString
;
4914 int i
, len
=PySequence_Length(obj1
);
4915 for (i
=0; i
<len
; i
++) {
4916 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4918 PyObject
* str
= PyObject_Unicode(item
);
4920 PyObject
* str
= PyObject_Str(item
);
4922 arg2
->Add(Py2wxString(str
));
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 if (arg2
) delete arg2
;
4941 if (arg2
) delete arg2
;
4947 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxListBox
*arg1
= (wxListBox
*) 0 ;
4950 wxArrayString
*arg2
= 0 ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4954 (char *) "self",(char *) "items", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4960 if (! PySequence_Check(obj1
)) {
4961 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4964 arg2
= new wxArrayString
;
4965 int i
, len
=PySequence_Length(obj1
);
4966 for (i
=0; i
<len
; i
++) {
4967 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4969 PyObject
* str
= PyObject_Unicode(item
);
4971 PyObject
* str
= PyObject_Str(item
);
4973 arg2
->Add(Py2wxString(str
));
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->Set((wxArrayString
const &)*arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 if (arg2
) delete arg2
;
4992 if (arg2
) delete arg2
;
4998 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxListBox
*arg1
= (wxListBox
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5005 (char *) "self",(char *) "n", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= PyInt_FromLong((long)result
);
5024 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxListBox
*arg1
= (wxListBox
*) 0 ;
5028 bool arg3
= (bool) True
;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj2
= 0 ;
5032 (char *) "self",(char *) "n",(char *) "select", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5039 arg3
= (bool) SPyObj_AsBool(obj2
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetSelection(arg2
,arg3
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5057 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxListBox
*arg1
= (wxListBox
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "self",(char *) "n", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 (arg1
)->Select(arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxListBox
*arg1
= (wxListBox
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self",(char *) "n", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->Deselect(arg2
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 Py_INCREF(Py_None
); resultobj
= Py_None
;
5107 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxListBox
*arg1
= (wxListBox
*) 0 ;
5110 int arg2
= (int) -1 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self",(char *) "itemToLeaveSelected", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->DeselectAll(arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxListBox
*arg1
= (wxListBox
*) 0 ;
5135 wxString
*arg2
= 0 ;
5136 bool arg3
= (bool) True
;
5138 bool temp2
= False
;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5143 (char *) "self",(char *) "s",(char *) "select", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5149 arg2
= wxString_in_helper(obj1
);
5150 if (arg2
== NULL
) SWIG_fail
;
5155 arg3
= (bool) SPyObj_AsBool(obj2
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxListBox
*arg1
= (wxListBox
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5206 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxListBox
*arg1
= (wxListBox
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self",(char *) "n", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 (arg1
)->SetFirstItem(arg2
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxListBox
*arg1
= (wxListBox
*) 0 ;
5234 wxString
*arg2
= 0 ;
5235 bool temp2
= False
;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5239 (char *) "self",(char *) "s", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 arg2
= wxString_in_helper(obj1
);
5246 if (arg2
== NULL
) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxListBox
*arg1
= (wxListBox
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "self",(char *) "n", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->EnsureVisible(arg2
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxListBox
*arg1
= (wxListBox
*) 0 ;
5299 wxString
*arg2
= 0 ;
5300 bool temp2
= False
;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "s", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5310 arg2
= wxString_in_helper(obj1
);
5311 if (arg2
== NULL
) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 Py_INCREF(Py_None
); resultobj
= Py_None
;
5336 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxListBox
*arg1
= (wxListBox
*) 0 ;
5340 PyObject
* obj0
= 0 ;
5342 (char *) "self", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= PyInt_FromLong((long)result
);
5361 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5364 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5366 return Py_BuildValue((char *)"");
5368 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
;
5370 wxWindow
*arg1
= (wxWindow
*) 0 ;
5372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5376 int arg5
= (int) 0 ;
5377 wxString
*arg6
= (wxString
*) NULL
;
5378 long arg7
= (long) 0 ;
5379 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5380 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5381 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5382 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5383 wxCheckListBox
*result
;
5386 bool temp8
= False
;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj2
= 0 ;
5389 PyObject
* obj3
= 0 ;
5390 PyObject
* obj4
= 0 ;
5391 PyObject
* obj6
= 0 ;
5392 PyObject
* obj7
= 0 ;
5394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5402 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5408 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5413 arg5
= PyList_Size(obj4
);
5414 arg6
= wxString_LIST_helper(obj4
);
5415 if (arg6
== NULL
) SWIG_fail
;
5419 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5426 arg9
= wxString_in_helper(obj7
);
5427 if (arg9
== NULL
) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5440 if (arg6
) delete [] arg6
;
5449 if (arg6
) delete [] arg6
;
5459 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxCheckListBox
*result
;
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (wxCheckListBox
*)new wxCheckListBox();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5481 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5484 wxWindow
*arg2
= (wxWindow
*) 0 ;
5486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5490 int arg6
= (int) 0 ;
5491 wxString
*arg7
= (wxString
*) NULL
;
5492 long arg8
= (long) 0 ;
5493 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5494 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5495 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5496 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5500 bool temp9
= False
;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5503 PyObject
* obj3
= 0 ;
5504 PyObject
* obj4
= 0 ;
5505 PyObject
* obj5
= 0 ;
5506 PyObject
* obj7
= 0 ;
5507 PyObject
* obj8
= 0 ;
5509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5529 arg6
= PyList_Size(obj5
);
5530 arg7
= wxString_LIST_helper(obj5
);
5531 if (arg7
== NULL
) SWIG_fail
;
5535 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5542 arg10
= wxString_in_helper(obj8
);
5543 if (arg10
== NULL
) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= PyInt_FromLong((long)result
);
5556 if (arg7
) delete [] arg7
;
5565 if (arg7
) delete [] arg7
;
5575 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self",(char *) "index", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (bool)(arg1
)->IsChecked(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= PyInt_FromLong((long)result
);
5601 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5605 int arg3
= (int) True
;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self",(char *) "index",(char *) "check", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 (arg1
)->Check(arg2
,arg3
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (int)(arg1
)->GetItemHeight();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= PyInt_FromLong((long)result
);
5652 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5661 (char *) "self",(char *) "pt", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= PyInt_FromLong((long)result
);
5684 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self",(char *) "x",(char *) "y", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= PyInt_FromLong((long)result
);
5711 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5714 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5716 return Py_BuildValue((char *)"");
5718 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5719 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5724 static PyObject
*_wrap_TextCtrlNameStr_get() {
5729 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5731 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5738 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5739 PyObject
*resultobj
;
5742 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (wxTextAttr
*)new wxTextAttr();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5757 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5758 PyObject
*resultobj
;
5759 wxColour
*arg1
= 0 ;
5760 wxColour
const &arg2_defvalue
= wxNullColour
;
5761 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5762 wxFont
const &arg3_defvalue
= wxNullFont
;
5763 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5764 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5770 PyObject
* obj2
= 0 ;
5772 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5775 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5784 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5803 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5808 argc
= PyObject_Length(args
);
5809 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5810 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5813 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5815 if ((argc
>= 1) && (argc
<= 4)) {
5818 _v
= wxColour_typecheck(argv
[0]);
5822 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5825 _v
= wxColour_typecheck(argv
[1]);
5829 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5833 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5842 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5844 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5850 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5855 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5860 (char *) "self", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5879 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5882 wxColour
*arg2
= 0 ;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5887 (char *) "self",(char *) "colText", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5913 wxColour
*arg2
= 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5918 (char *) "self",(char *) "colBack", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5925 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 Py_INCREF(Py_None
); resultobj
= Py_None
;
5941 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5945 long arg3
= (long) wxTEXT_ATTR_FONT
;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5949 (char *) "self",(char *) "font",(char *) "flags", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 Py_INCREF(Py_None
); resultobj
= Py_None
;
5972 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self",(char *) "alignment", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 Py_INCREF(Py_None
); resultobj
= Py_None
;
5997 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6000 wxArrayInt
*arg2
= 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "tabs", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6010 if (! PySequence_Check(obj1
)) {
6011 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6014 arg2
= new wxArrayInt
;
6015 int i
, len
=PySequence_Length(obj1
);
6016 for (i
=0; i
<len
; i
++) {
6017 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6018 PyObject
* number
= PyNumber_Int(item
);
6019 arg2
->Add(PyInt_AS_LONG(number
));
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 if (arg2
) delete arg2
;
6038 if (arg2
) delete arg2
;
6044 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self",(char *) "indent", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 (arg1
)->SetLeftIndent(arg2
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 Py_INCREF(Py_None
); resultobj
= Py_None
;
6069 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self",(char *) "indent", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 (arg1
)->SetRightIndent(arg2
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 Py_INCREF(Py_None
); resultobj
= Py_None
;
6094 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "self",(char *) "flags", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 (arg1
)->SetFlags(arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= PyInt_FromLong((long)result
);
6144 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= PyInt_FromLong((long)result
);
6169 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= PyInt_FromLong((long)result
);
6194 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= PyInt_FromLong((long)result
);
6219 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= PyInt_FromLong((long)result
);
6244 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= PyInt_FromLong((long)result
);
6269 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= PyInt_FromLong((long)result
);
6294 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self",(char *) "flag", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= PyInt_FromLong((long)result
);
6320 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "self", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6335 result
= (wxColour
*) &_result_ref
;
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6348 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6363 result
= (wxColour
*) &_result_ref
;
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6376 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6391 result
= (wxFont
*) &_result_ref
;
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6404 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6408 PyObject
* obj0
= 0 ;
6410 (char *) "self", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= PyInt_FromLong((long)result
);
6429 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6444 result
= (wxArrayInt
*) &_result_ref
;
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= PyList_New(0);
6453 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6454 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6455 PyList_Append(resultobj
, val
);
6465 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6471 (char *) "self", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= PyInt_FromLong((long)result
);
6490 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6496 (char *) "self", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= PyInt_FromLong((long)result
);
6515 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6521 (char *) "self", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= PyInt_FromLong((long)result
);
6540 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= PyInt_FromLong((long)result
);
6565 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxTextAttr
*arg1
= 0 ;
6568 wxTextAttr
*arg2
= 0 ;
6569 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6587 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 wxTextAttr
* resultptr
;
6597 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6606 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6609 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6611 return Py_BuildValue((char *)"");
6613 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxWindow
*arg1
= (wxWindow
*) 0 ;
6617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6623 long arg6
= (long) 0 ;
6624 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6625 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6626 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6627 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6629 bool temp3
= False
;
6632 bool temp8
= False
;
6633 PyObject
* obj0
= 0 ;
6634 PyObject
* obj2
= 0 ;
6635 PyObject
* obj3
= 0 ;
6636 PyObject
* obj4
= 0 ;
6637 PyObject
* obj6
= 0 ;
6638 PyObject
* obj7
= 0 ;
6640 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6647 arg3
= wxString_in_helper(obj2
);
6648 if (arg3
== NULL
) SWIG_fail
;
6655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6665 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6672 arg8
= wxString_in_helper(obj7
);
6673 if (arg8
== NULL
) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= wxPyMake_wxObject(result
);
6709 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (wxTextCtrl
*)new wxTextCtrl();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= wxPyMake_wxObject(result
);
6733 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6736 wxWindow
*arg2
= (wxWindow
*) 0 ;
6738 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6739 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6740 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6741 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6742 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6743 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6744 long arg7
= (long) 0 ;
6745 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6746 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6747 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6748 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6750 bool temp4
= False
;
6753 bool temp9
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6758 PyObject
* obj5
= 0 ;
6759 PyObject
* obj7
= 0 ;
6760 PyObject
* obj8
= 0 ;
6762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6770 arg4
= wxString_in_helper(obj3
);
6771 if (arg4
== NULL
) SWIG_fail
;
6778 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6784 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6788 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6795 arg9
= wxString_in_helper(obj8
);
6796 if (arg9
== NULL
) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= PyInt_FromLong((long)result
);
6830 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6836 (char *) "self", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6861 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6864 wxString
*arg2
= 0 ;
6865 bool temp2
= False
;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "value", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6875 arg2
= wxString_in_helper(obj1
);
6876 if (arg2
== NULL
) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 (arg1
)->SetValue((wxString
const &)*arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6901 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6909 (char *) "self",(char *) "from",(char *) "to", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6934 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self",(char *) "lineNo", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= PyInt_FromLong((long)result
);
6960 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "self",(char *) "lineNo", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6992 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6996 PyObject
* obj0
= 0 ;
6998 (char *) "self", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= PyInt_FromLong((long)result
);
7017 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= PyInt_FromLong((long)result
);
7042 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= PyInt_FromLong((long)result
);
7067 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "self", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= PyInt_FromLong((long)result
);
7092 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7098 (char *) "self", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= PyInt_FromLong((long)result
);
7117 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7120 long *arg2
= (long *) 0 ;
7121 long *arg3
= (long *) 0 ;
7124 PyObject
* obj0
= 0 ;
7126 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7143 resultobj
= t_output_helper(resultobj
,o
);
7146 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7147 resultobj
= t_output_helper(resultobj
,o
);
7155 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7186 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "self", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7210 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7215 wxString
*arg4
= 0 ;
7216 bool temp4
= False
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj3
= 0 ;
7220 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7226 arg4
= wxString_in_helper(obj3
);
7227 if (arg4
== NULL
) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "self",(char *) "from",(char *) "to", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 (arg1
)->Remove(arg2
,arg3
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7278 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7281 wxString
*arg2
= 0 ;
7283 bool temp2
= False
;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7287 (char *) "self",(char *) "file", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 arg2
= wxString_in_helper(obj1
);
7294 if (arg2
== NULL
) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= PyInt_FromLong((long)result
);
7319 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7322 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7323 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7325 bool temp2
= False
;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7329 (char *) "self",(char *) "file", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7336 arg2
= wxString_in_helper(obj1
);
7337 if (arg2
== NULL
) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= PyInt_FromLong((long)result
);
7363 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "self", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->MarkDirty();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->DiscardEdits();
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7414 unsigned long arg2
;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "len", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7424 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->SetMaxLength(arg2
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7441 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7444 wxString
*arg2
= 0 ;
7445 bool temp2
= False
;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "text", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7455 arg2
= wxString_in_helper(obj1
);
7456 if (arg2
== NULL
) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->WriteText((wxString
const &)*arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7484 wxString
*arg2
= 0 ;
7485 bool temp2
= False
;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "text", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7495 arg2
= wxString_in_helper(obj1
);
7496 if (arg2
== NULL
) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->AppendText((wxString
const &)*arg2
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7524 wxKeyEvent
*arg2
= 0 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "event", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyInt_FromLong((long)result
);
7552 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7557 wxTextAttr
*arg4
= 0 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj3
= 0 ;
7562 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7567 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= PyInt_FromLong((long)result
);
7585 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7589 wxTextAttr
*arg3
= 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj2
= 0 ;
7594 (char *) "self",(char *) "position",(char *) "style", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7599 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= PyInt_FromLong((long)result
);
7617 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7620 wxTextAttr
*arg2
= 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "style", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= PyInt_FromLong((long)result
);
7648 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7663 result
= (wxTextAttr
*) &_result_ref
;
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7676 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self",(char *) "x",(char *) "y", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= PyInt_FromLong((long)result
);
7703 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7707 long *arg3
= (long *) 0 ;
7708 long *arg4
= (long *) 0 ;
7711 PyObject
* obj0
= 0 ;
7713 (char *) "self",(char *) "pos", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 Py_INCREF(Py_None
); resultobj
= Py_None
;
7729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7730 resultobj
= t_output_helper(resultobj
,o
);
7733 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7734 resultobj
= t_output_helper(resultobj
,o
);
7742 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "self",(char *) "pos", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 (arg1
)->ShowPosition(arg2
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 Py_INCREF(Py_None
); resultobj
= Py_None
;
7767 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7772 (char *) "self", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7791 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= PyInt_FromLong((long)result
);
7864 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= PyInt_FromLong((long)result
);
7889 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= PyInt_FromLong((long)result
);
7914 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7938 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7968 (char *) "self", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= PyInt_FromLong((long)result
);
7987 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= PyInt_FromLong((long)result
);
8012 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self",(char *) "pos", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 (arg1
)->SetInsertionPoint(arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 Py_INCREF(Py_None
); resultobj
= Py_None
;
8037 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8042 (char *) "self", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 (arg1
)->SetInsertionPointEnd();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 Py_INCREF(Py_None
); resultobj
= Py_None
;
8061 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8065 PyObject
* obj0
= 0 ;
8067 (char *) "self", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= PyInt_FromLong((long)result
);
8086 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= PyInt_FromLong((long)result
);
8111 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self",(char *) "from",(char *) "to", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetSelection(arg2
,arg3
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 (arg1
)->SelectAll();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "self",(char *) "editable", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8174 arg2
= (bool) SPyObj_AsBool(obj1
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetEditable(arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8194 bool arg2
= (bool) True
;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8199 (char *) "self",(char *) "show", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8206 arg2
= (bool) SPyObj_AsBool(obj1
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= PyInt_FromLong((long)result
);
8224 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8230 (char *) "self", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (bool)(arg1
)->HideNativeCaret();
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= PyInt_FromLong((long)result
);
8249 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8252 wxString
*arg2
= 0 ;
8253 bool temp2
= False
;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "text", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8263 arg2
= wxString_in_helper(obj1
);
8264 if (arg2
== NULL
) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8289 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8297 (char *) "self",(char *) "from",(char *) "to", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8322 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8325 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8327 return Py_BuildValue((char *)"");
8329 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8332 wxMouseEvent
*arg2
= 0 ;
8335 wxTextUrlEvent
*result
;
8336 PyObject
* obj1
= 0 ;
8338 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8360 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8363 wxMouseEvent
*result
;
8364 PyObject
* obj0
= 0 ;
8366 (char *) "self", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8375 result
= (wxMouseEvent
*) &_result_ref
;
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8388 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8392 PyObject
* obj0
= 0 ;
8394 (char *) "self", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= PyInt_FromLong((long)result
);
8413 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8419 (char *) "self", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= PyInt_FromLong((long)result
);
8438 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8441 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8443 return Py_BuildValue((char *)"");
8445 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8446 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8451 static PyObject
*_wrap_ScrollBarNameStr_get() {
8456 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8458 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8465 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxWindow
*arg1
= (wxWindow
*) 0 ;
8468 int arg2
= (int) -1 ;
8469 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8470 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8471 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8472 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8473 long arg5
= (long) wxSB_HORIZONTAL
;
8474 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8475 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8476 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8478 wxScrollBar
*result
;
8481 bool temp7
= False
;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj2
= 0 ;
8484 PyObject
* obj3
= 0 ;
8485 PyObject
* obj5
= 0 ;
8486 PyObject
* obj6
= 0 ;
8488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8506 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8513 arg7
= wxString_in_helper(obj6
);
8514 if (arg7
== NULL
) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8540 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxScrollBar
*result
;
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (wxScrollBar
*)new wxScrollBar();
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8562 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8565 wxWindow
*arg2
= (wxWindow
*) 0 ;
8566 int arg3
= (int) -1 ;
8567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8571 long arg6
= (long) wxSB_HORIZONTAL
;
8572 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8573 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8574 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8575 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8579 bool temp8
= False
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj3
= 0 ;
8583 PyObject
* obj4
= 0 ;
8584 PyObject
* obj6
= 0 ;
8585 PyObject
* obj7
= 0 ;
8587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8606 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8613 arg8
= wxString_in_helper(obj7
);
8614 if (arg8
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= PyInt_FromLong((long)result
);
8640 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyInt_FromLong((long)result
);
8665 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8671 (char *) "self", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= PyInt_FromLong((long)result
);
8690 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "self", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= PyInt_FromLong((long)result
);
8715 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8721 (char *) "self", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 resultobj
= PyInt_FromLong((long)result
);
8740 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8744 PyObject
* obj0
= 0 ;
8746 (char *) "self", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= PyInt_FromLong((long)result
);
8765 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self",(char *) "viewStart", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->SetThumbPosition(arg2
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8797 bool arg6
= (bool) True
;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj5
= 0 ;
8801 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8808 arg6
= (bool) SPyObj_AsBool(obj5
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8829 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8831 return Py_BuildValue((char *)"");
8833 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8834 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8839 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8844 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8846 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8853 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8854 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8859 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8864 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8866 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8873 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxWindow
*arg1
= (wxWindow
*) 0 ;
8876 int arg2
= (int) -1 ;
8877 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8878 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8879 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8880 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8881 long arg5
= (long) wxSP_HORIZONTAL
;
8882 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8883 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8884 wxSpinButton
*result
;
8887 bool temp6
= False
;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj2
= 0 ;
8890 PyObject
* obj3
= 0 ;
8891 PyObject
* obj5
= 0 ;
8893 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8907 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8912 arg6
= wxString_in_helper(obj5
);
8913 if (arg6
== NULL
) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8939 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxSpinButton
*result
;
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (wxSpinButton
*)new wxSpinButton();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8961 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8964 wxWindow
*arg2
= (wxWindow
*) 0 ;
8965 int arg3
= (int) -1 ;
8966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8970 long arg6
= (long) wxSP_HORIZONTAL
;
8971 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8976 bool temp7
= False
;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8979 PyObject
* obj3
= 0 ;
8980 PyObject
* obj4
= 0 ;
8981 PyObject
* obj6
= 0 ;
8983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9003 arg7
= wxString_in_helper(obj6
);
9004 if (arg7
== NULL
) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= PyInt_FromLong((long)result
);
9030 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= PyInt_FromLong((long)result
);
9055 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= PyInt_FromLong((long)result
);
9080 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= PyInt_FromLong((long)result
);
9105 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9111 (char *) "self",(char *) "val", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 (arg1
)->SetValue(arg2
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9134 PyObject
* obj0
= 0 ;
9136 (char *) "self",(char *) "minVal", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 (arg1
)->SetMin(arg2
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "self",(char *) "maxVal", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
9165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->SetMax(arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SetRange(arg2
,arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= PyInt_FromLong((long)result
);
9231 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9234 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9236 return Py_BuildValue((char *)"");
9238 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxWindow
*arg1
= (wxWindow
*) 0 ;
9241 int arg2
= (int) -1 ;
9242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9248 long arg6
= (long) wxSP_ARROW_KEYS
;
9249 int arg7
= (int) 0 ;
9250 int arg8
= (int) 100 ;
9251 int arg9
= (int) 0 ;
9252 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9253 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9255 bool temp3
= False
;
9258 bool temp10
= False
;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj2
= 0 ;
9261 PyObject
* obj3
= 0 ;
9262 PyObject
* obj4
= 0 ;
9263 PyObject
* obj9
= 0 ;
9265 (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 *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9272 arg3
= wxString_in_helper(obj2
);
9273 if (arg3
== NULL
) SWIG_fail
;
9280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9291 arg10
= wxString_in_helper(obj9
);
9292 if (arg10
== NULL
) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9326 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9348 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9351 wxWindow
*arg2
= (wxWindow
*) 0 ;
9352 int arg3
= (int) -1 ;
9353 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9355 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9356 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9357 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9358 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9359 long arg7
= (long) wxSP_ARROW_KEYS
;
9360 int arg8
= (int) 0 ;
9361 int arg9
= (int) 100 ;
9362 int arg10
= (int) 0 ;
9363 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9364 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9366 bool temp4
= False
;
9369 bool temp11
= False
;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj3
= 0 ;
9373 PyObject
* obj4
= 0 ;
9374 PyObject
* obj5
= 0 ;
9375 PyObject
* obj10
= 0 ;
9377 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9385 arg4
= wxString_in_helper(obj3
);
9386 if (arg4
== NULL
) SWIG_fail
;
9393 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9399 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9404 arg11
= wxString_in_helper(obj10
);
9405 if (arg11
== NULL
) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= PyInt_FromLong((long)result
);
9439 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= PyInt_FromLong((long)result
);
9464 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self",(char *) "value", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 (arg1
)->SetValue(arg2
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9492 wxString
*arg2
= 0 ;
9493 bool temp2
= False
;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9497 (char *) "self",(char *) "text", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 arg2
= wxString_in_helper(obj1
);
9504 if (arg2
== NULL
) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->SetValue((wxString
const &)*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9536 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 (arg1
)->SetRange(arg2
,arg3
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9555 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= PyInt_FromLong((long)result
);
9580 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9586 (char *) "self", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= PyInt_FromLong((long)result
);
9605 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "self",(char *) "from",(char *) "to", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 (arg1
)->SetSelection(arg2
,arg3
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 Py_INCREF(Py_None
); resultobj
= Py_None
;
9631 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9634 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9636 return Py_BuildValue((char *)"");
9638 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9641 int arg2
= (int) 0 ;
9642 wxSpinEvent
*result
;
9644 (char *) "commandType",(char *) "winid", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SpinEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
9662 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "self", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= PyInt_FromLong((long)result
);
9687 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9693 (char *) "self",(char *) "pos", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetPosition(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9715 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
9717 return Py_BuildValue((char *)"");
9719 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9720 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9725 static PyObject
*_wrap_RadioBoxNameStr_get() {
9730 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9732 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9739 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9740 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9745 static PyObject
*_wrap_RadioButtonNameStr_get() {
9750 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9752 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9759 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxWindow
*arg1
= (wxWindow
*) 0 ;
9763 wxString
*arg3
= 0 ;
9764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9768 int arg6
= (int) 0 ;
9769 wxString
*arg7
= (wxString
*) NULL
;
9770 int arg8
= (int) 0 ;
9771 long arg9
= (long) wxRA_HORIZONTAL
;
9772 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9773 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9774 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9775 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9777 bool temp3
= False
;
9780 bool temp10
= False
;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 PyObject
* obj3
= 0 ;
9784 PyObject
* obj4
= 0 ;
9785 PyObject
* obj5
= 0 ;
9786 PyObject
* obj8
= 0 ;
9787 PyObject
* obj9
= 0 ;
9789 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9795 arg3
= wxString_in_helper(obj2
);
9796 if (arg3
== NULL
) SWIG_fail
;
9802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9813 arg6
= PyList_Size(obj5
);
9814 arg7
= wxString_LIST_helper(obj5
);
9815 if (arg7
== NULL
) SWIG_fail
;
9819 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9820 if (arg10
== NULL
) {
9821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9826 arg11
= wxString_in_helper(obj9
);
9827 if (arg11
== NULL
) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 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
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9844 if (arg7
) delete [] arg7
;
9857 if (arg7
) delete [] arg7
;
9867 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxRadioBox
*)new wxRadioBox();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9889 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9892 wxWindow
*arg2
= (wxWindow
*) 0 ;
9894 wxString
*arg4
= 0 ;
9895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9899 int arg7
= (int) 0 ;
9900 wxString
*arg8
= (wxString
*) NULL
;
9901 int arg9
= (int) 0 ;
9902 long arg10
= (long) wxRA_HORIZONTAL
;
9903 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9904 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9905 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9906 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9908 bool temp4
= False
;
9911 bool temp11
= False
;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 PyObject
* obj3
= 0 ;
9915 PyObject
* obj4
= 0 ;
9916 PyObject
* obj5
= 0 ;
9917 PyObject
* obj6
= 0 ;
9918 PyObject
* obj9
= 0 ;
9919 PyObject
* obj10
= 0 ;
9921 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9928 arg4
= wxString_in_helper(obj3
);
9929 if (arg4
== NULL
) SWIG_fail
;
9935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9941 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9946 arg7
= PyList_Size(obj6
);
9947 arg8
= wxString_LIST_helper(obj6
);
9948 if (arg8
== NULL
) SWIG_fail
;
9952 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 if (arg11
== NULL
) {
9954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9959 arg12
= wxString_in_helper(obj10
);
9960 if (arg12
== NULL
) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 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
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= PyInt_FromLong((long)result
);
9977 if (arg8
) delete [] arg8
;
9990 if (arg8
) delete [] arg8
;
10000 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self",(char *) "n", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
10010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->SetSelection(arg2
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= PyInt_FromLong((long)result
);
10050 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10081 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10084 wxString
*arg2
= 0 ;
10086 bool temp2
= False
;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self",(char *) "s", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10096 arg2
= wxString_in_helper(obj1
);
10097 if (arg2
== NULL
) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= PyInt_FromLong((long)result
);
10122 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyInt_FromLong((long)result
);
10147 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10150 wxString
*arg2
= 0 ;
10152 bool temp2
= False
;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self",(char *) "s", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10162 arg2
= wxString_in_helper(obj1
);
10163 if (arg2
== NULL
) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= PyInt_FromLong((long)result
);
10188 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "n", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10220 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10224 wxString
*arg3
= 0 ;
10225 bool temp3
= False
;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self",(char *) "n",(char *) "label", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10235 arg3
= wxString_in_helper(obj2
);
10236 if (arg3
== NULL
) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10265 bool arg3
= (bool) True
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "n",(char *) "enable", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10276 arg3
= (bool) SPyObj_AsBool(obj2
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 (arg1
)->Enable(arg2
,arg3
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10298 bool arg3
= (bool) True
;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "n",(char *) "show", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10309 arg3
= (bool) SPyObj_AsBool(obj2
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->Show(arg2
,arg3
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 Py_INCREF(Py_None
); resultobj
= Py_None
;
10327 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= PyInt_FromLong((long)result
);
10352 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= PyInt_FromLong((long)result
);
10377 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= PyInt_FromLong((long)result
);
10405 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10408 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10410 return Py_BuildValue((char *)"");
10412 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxWindow
*arg1
= (wxWindow
*) 0 ;
10416 wxString
*arg3
= 0 ;
10417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10421 long arg6
= (long) 0 ;
10422 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10423 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10424 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10425 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10426 wxRadioButton
*result
;
10427 bool temp3
= False
;
10430 bool temp8
= False
;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 PyObject
* obj3
= 0 ;
10434 PyObject
* obj4
= 0 ;
10435 PyObject
* obj6
= 0 ;
10436 PyObject
* obj7
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10444 arg3
= wxString_in_helper(obj2
);
10445 if (arg3
== NULL
) SWIG_fail
;
10451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 if (arg7
== NULL
) {
10463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10468 arg8
= wxString_in_helper(obj7
);
10469 if (arg8
== NULL
) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10503 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxRadioButton
*result
;
10506 char *kwnames
[] = {
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxRadioButton
*)new wxRadioButton();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10525 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10528 wxWindow
*arg2
= (wxWindow
*) 0 ;
10530 wxString
*arg4
= 0 ;
10531 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10532 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10533 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10534 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10535 long arg7
= (long) 0 ;
10536 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10537 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10538 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10539 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10541 bool temp4
= False
;
10544 bool temp9
= False
;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 PyObject
* obj5
= 0 ;
10550 PyObject
* obj7
= 0 ;
10551 PyObject
* obj8
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10560 arg4
= wxString_in_helper(obj3
);
10561 if (arg4
== NULL
) SWIG_fail
;
10567 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10573 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10577 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 if (arg8
== NULL
) {
10579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10584 arg9
= wxString_in_helper(obj8
);
10585 if (arg9
== NULL
) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= PyInt_FromLong((long)result
);
10619 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->GetValue();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= PyInt_FromLong((long)result
);
10644 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "value", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10657 arg2
= (bool) SPyObj_AsBool(obj1
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 (arg1
)->SetValue(arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 Py_INCREF(Py_None
); resultobj
= Py_None
;
10674 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10679 return Py_BuildValue((char *)"");
10681 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10682 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10687 static PyObject
*_wrap_SliderNameStr_get() {
10692 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10694 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10701 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxWindow
*arg1
= (wxWindow
*) 0 ;
10708 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10709 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10710 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10711 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10712 long arg8
= (long) wxSL_HORIZONTAL
;
10713 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10714 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10715 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10716 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10720 bool temp10
= False
;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj5
= 0 ;
10723 PyObject
* obj6
= 0 ;
10724 PyObject
* obj8
= 0 ;
10725 PyObject
* obj9
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10735 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10741 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10745 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10746 if (arg9
== NULL
) {
10747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10752 arg10
= wxString_in_helper(obj9
);
10753 if (arg10
== NULL
) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10779 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10782 char *kwnames
[] = {
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (wxSlider
*)new wxSlider();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10801 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxSlider
*arg1
= (wxSlider
*) 0 ;
10804 wxWindow
*arg2
= (wxWindow
*) 0 ;
10809 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10810 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10811 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10812 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10813 long arg9
= (long) wxSL_HORIZONTAL
;
10814 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10815 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10816 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10817 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10821 bool temp11
= False
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj6
= 0 ;
10825 PyObject
* obj7
= 0 ;
10826 PyObject
* obj9
= 0 ;
10827 PyObject
* obj10
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10838 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10844 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10848 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 if (arg10
== NULL
) {
10850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10855 arg11
= wxString_in_helper(obj10
);
10856 if (arg11
== NULL
) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= PyInt_FromLong((long)result
);
10882 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxSlider
*arg1
= (wxSlider
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= PyInt_FromLong((long)result
);
10907 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxSlider
*arg1
= (wxSlider
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "value", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->SetValue(arg2
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10932 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxSlider
*arg1
= (wxSlider
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->SetRange(arg2
,arg3
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxSlider
*arg1
= (wxSlider
*) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= PyInt_FromLong((long)result
);
10983 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxSlider
*arg1
= (wxSlider
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= PyInt_FromLong((long)result
);
11008 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxSlider
*arg1
= (wxSlider
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "minValue", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->SetMin(arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxSlider
*arg1
= (wxSlider
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "maxValue", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 (arg1
)->SetMax(arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxSlider
*arg1
= (wxSlider
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "lineSize", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->SetLineSize(arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxSlider
*arg1
= (wxSlider
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "pageSize", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->SetPageSize(arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxSlider
*arg1
= (wxSlider
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= PyInt_FromLong((long)result
);
11133 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxSlider
*arg1
= (wxSlider
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= PyInt_FromLong((long)result
);
11158 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxSlider
*arg1
= (wxSlider
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self",(char *) "lenPixels", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->SetThumbLength(arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxSlider
*arg1
= (wxSlider
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
11193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= PyInt_FromLong((long)result
);
11208 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxSlider
*arg1
= (wxSlider
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "n",(char *) "pos", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->SetTickFreq(arg2
,arg3
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxSlider
*arg1
= (wxSlider
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= PyInt_FromLong((long)result
);
11259 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxSlider
*arg1
= (wxSlider
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->ClearTicks();
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxSlider
*arg1
= (wxSlider
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "tickPos", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->SetTick(arg2
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxSlider
*arg1
= (wxSlider
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 (arg1
)->ClearSel();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxSlider
*arg1
= (wxSlider
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= PyInt_FromLong((long)result
);
11357 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxSlider
*arg1
= (wxSlider
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= PyInt_FromLong((long)result
);
11382 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxSlider
*arg1
= (wxSlider
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "min",(char *) "max", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->SetSelection(arg2
,arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11413 return Py_BuildValue((char *)"");
11415 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11416 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11421 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11426 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11428 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11435 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxWindow
*arg1
= (wxWindow
*) 0 ;
11439 wxString
*arg3
= 0 ;
11440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11444 long arg6
= (long) 0 ;
11445 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11446 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11447 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11448 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11449 wxToggleButton
*result
;
11450 bool temp3
= False
;
11453 bool temp8
= False
;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 PyObject
* obj3
= 0 ;
11457 PyObject
* obj4
= 0 ;
11458 PyObject
* obj6
= 0 ;
11459 PyObject
* obj7
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 arg3
= wxString_in_helper(obj2
);
11468 if (arg3
== NULL
) SWIG_fail
;
11474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11484 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11485 if (arg7
== NULL
) {
11486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11491 arg8
= wxString_in_helper(obj7
);
11492 if (arg8
== NULL
) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11526 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxToggleButton
*result
;
11529 char *kwnames
[] = {
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (wxToggleButton
*)new wxToggleButton();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11548 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11551 wxWindow
*arg2
= (wxWindow
*) 0 ;
11553 wxString
*arg4
= 0 ;
11554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11558 long arg7
= (long) 0 ;
11559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11561 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11564 bool temp4
= False
;
11567 bool temp9
= False
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj3
= 0 ;
11571 PyObject
* obj4
= 0 ;
11572 PyObject
* obj5
= 0 ;
11573 PyObject
* obj7
= 0 ;
11574 PyObject
* obj8
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11583 arg4
= wxString_in_helper(obj3
);
11584 if (arg4
== NULL
) SWIG_fail
;
11590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11596 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11600 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11601 if (arg8
== NULL
) {
11602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11607 arg9
= wxString_in_helper(obj8
);
11608 if (arg9
== NULL
) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= PyInt_FromLong((long)result
);
11642 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
*resultobj
;
11644 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self",(char *) "value", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11655 arg2
= (bool) SPyObj_AsBool(obj1
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 (arg1
)->SetValue(arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 Py_INCREF(Py_None
); resultobj
= Py_None
;
11672 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= PyInt_FromLong((long)result
);
11697 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11700 wxString
*arg2
= 0 ;
11701 bool temp2
= False
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "label", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11711 arg2
= wxString_in_helper(obj1
);
11712 if (arg2
== NULL
) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->SetLabel((wxString
const &)*arg2
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 Py_INCREF(Py_None
); resultobj
= Py_None
;
11737 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11740 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11742 return Py_BuildValue((char *)"");
11744 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11745 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11750 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11755 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11757 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11764 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
11789 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "n", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= wxPyMake_wxObject(result
);
11822 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= PyInt_FromLong((long)result
);
11847 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11851 wxString
*arg3
= 0 ;
11853 bool temp3
= False
;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 PyObject
* obj2
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "n",(char *) "strText", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 arg3
= wxString_in_helper(obj2
);
11869 if (arg3
== NULL
) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= PyInt_FromLong((long)result
);
11894 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "n", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11908 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11931 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11934 wxImageList
*arg2
= (wxImageList
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 PyObject
* obj1
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self",(char *) "imageList", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 (arg1
)->SetImageList(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 Py_INCREF(Py_None
); resultobj
= Py_None
;
11958 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11961 wxImageList
*arg2
= (wxImageList
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self",(char *) "imageList", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->AssignImageList(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11988 wxImageList
*result
;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= wxPyMake_wxObject(result
);
12012 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "n", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12026 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= PyInt_FromLong((long)result
);
12043 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "n",(char *) "imageId", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12058 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyInt_FromLong((long)result
);
12075 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "size", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12090 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "sizePage", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 wxSize
* resultptr
;
12133 resultptr
= new wxSize((wxSize
&) result
);
12134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12142 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "n", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12156 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (bool)(arg1
)->DeletePage(arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= PyInt_FromLong((long)result
);
12173 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "n", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12187 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (bool)(arg1
)->RemovePage(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= PyInt_FromLong((long)result
);
12204 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->DeleteAllPages();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyInt_FromLong((long)result
);
12229 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12232 wxWindow
*arg2
= (wxWindow
*) 0 ;
12233 wxString
*arg3
= 0 ;
12234 bool arg4
= (bool) False
;
12235 int arg5
= (int) -1 ;
12237 bool temp3
= False
;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12250 arg3
= wxString_in_helper(obj2
);
12251 if (arg3
== NULL
) SWIG_fail
;
12256 arg4
= (bool) SPyObj_AsBool(obj3
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyInt_FromLong((long)result
);
12282 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12286 wxWindow
*arg3
= (wxWindow
*) 0 ;
12287 wxString
*arg4
= 0 ;
12288 bool arg5
= (bool) False
;
12289 int arg6
= (int) -1 ;
12291 bool temp4
= False
;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 PyObject
* obj2
= 0 ;
12295 PyObject
* obj3
= 0 ;
12296 PyObject
* obj4
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12304 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 arg4
= wxString_in_helper(obj3
);
12310 if (arg4
== NULL
) SWIG_fail
;
12315 arg5
= (bool) SPyObj_AsBool(obj4
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= PyInt_FromLong((long)result
);
12341 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self",(char *) "n", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12355 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (int)(arg1
)->SetSelection(arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= PyInt_FromLong((long)result
);
12372 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12375 bool arg2
= (bool) True
;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self",(char *) "forward", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12386 arg2
= (bool) SPyObj_AsBool(obj1
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 (arg1
)->AdvanceSelection(arg2
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 Py_INCREF(Py_None
); resultobj
= Py_None
;
12404 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12407 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12409 return Py_BuildValue((char *)"");
12411 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12414 int arg2
= (int) 0 ;
12415 int arg3
= (int) -1 ;
12416 int arg4
= (int) -1 ;
12417 wxBookCtrlEvent
*result
;
12418 char *kwnames
[] = {
12419 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12437 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= PyInt_FromLong((long)result
);
12462 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "nSel", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 (arg1
)->SetSelection(arg2
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 Py_INCREF(Py_None
); resultobj
= Py_None
;
12487 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12491 PyObject
* obj0
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= PyInt_FromLong((long)result
);
12512 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self",(char *) "nOldSel", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetOldSelection(arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12540 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12542 return Py_BuildValue((char *)"");
12544 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxWindow
*arg1
= (wxWindow
*) 0 ;
12548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12552 long arg5
= (long) 0 ;
12553 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12554 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12555 wxNotebook
*result
;
12558 bool temp6
= False
;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 PyObject
* obj3
= 0 ;
12562 PyObject
* obj5
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12578 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12583 arg6
= wxString_in_helper(obj5
);
12584 if (arg6
== NULL
) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= wxPyMake_wxObject(result
);
12612 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxNotebook
*result
;
12615 char *kwnames
[] = {
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxNotebook
*)new wxNotebook();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= wxPyMake_wxObject(result
);
12636 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12639 wxWindow
*arg2
= (wxWindow
*) 0 ;
12641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12645 long arg6
= (long) 0 ;
12646 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12651 bool temp7
= False
;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 PyObject
* obj3
= 0 ;
12655 PyObject
* obj4
= 0 ;
12656 PyObject
* obj6
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12678 arg7
= wxString_in_helper(obj6
);
12679 if (arg7
== NULL
) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= PyInt_FromLong((long)result
);
12705 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= PyInt_FromLong((long)result
);
12730 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self",(char *) "padding", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12761 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "sz", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 Py_INCREF(Py_None
); resultobj
= Py_None
;
12792 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12795 wxPoint
*arg2
= 0 ;
12796 long *arg3
= (long *) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self",(char *) "pt", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= PyInt_FromLong((long)result
);
12822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12823 resultobj
= t_output_helper(resultobj
,o
);
12831 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self",(char *) "sizePage", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12847 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 wxSize
* resultptr
;
12858 resultptr
= new wxSize((wxSize
&) result
);
12859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12867 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12870 wxWindow
*arg2
= (wxWindow
*) 0 ;
12871 wxColour
*arg3
= 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "window",(char *) "colour", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12885 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12906 return Py_BuildValue((char *)"");
12908 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12911 int arg2
= (int) 0 ;
12912 int arg3
= (int) -1 ;
12913 int arg4
= (int) -1 ;
12914 wxNotebookEvent
*result
;
12915 char *kwnames
[] = {
12916 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12934 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12937 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12939 return Py_BuildValue((char *)"");
12941 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxWindow
*arg1
= (wxWindow
*) 0 ;
12945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12949 long arg5
= (long) 0 ;
12950 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12951 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12952 wxListbook
*result
;
12955 bool temp6
= False
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj2
= 0 ;
12958 PyObject
* obj3
= 0 ;
12959 PyObject
* obj5
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12980 arg6
= wxString_in_helper(obj5
);
12981 if (arg6
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13007 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxListbook
*result
;
13010 char *kwnames
[] = {
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (wxListbook
*)new wxListbook();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
13029 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxListbook
*arg1
= (wxListbook
*) 0 ;
13032 wxWindow
*arg2
= (wxWindow
*) 0 ;
13034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13038 long arg6
= (long) 0 ;
13039 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13040 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13044 bool temp7
= False
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 PyObject
* obj3
= 0 ;
13048 PyObject
* obj4
= 0 ;
13049 PyObject
* obj6
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13056 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13066 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13071 arg7
= wxString_in_helper(obj6
);
13072 if (arg7
== NULL
) SWIG_fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= PyInt_FromLong((long)result
);
13098 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxListbook
*arg1
= (wxListbook
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= PyInt_FromLong((long)result
);
13123 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
13125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13126 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
13128 return Py_BuildValue((char *)"");
13130 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13133 int arg2
= (int) 0 ;
13134 int arg3
= (int) -1 ;
13135 int arg4
= (int) -1 ;
13136 wxListbookEvent
*result
;
13137 char *kwnames
[] = {
13138 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
13156 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13159 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
13161 return Py_BuildValue((char *)"");
13163 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13166 wxBookCtrlSizer
*result
;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "nb", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
13188 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->RecalcSizes();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (arg1
)->CalcMin();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxSize
* resultptr
;
13232 resultptr
= new wxSize((wxSize
&) result
);
13233 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13241 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13244 wxBookCtrl
*result
;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxBookCtrl
*)(arg1
)->GetControl();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
13266 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
13271 return Py_BuildValue((char *)"");
13273 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13276 wxNotebookSizer
*result
;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "nb", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
13298 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->RecalcSizes();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 Py_INCREF(Py_None
); resultobj
= Py_None
;
13322 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (arg1
)->CalcMin();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13341 wxSize
* resultptr
;
13342 resultptr
= new wxSize((wxSize
&) result
);
13343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13351 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13354 wxNotebook
*result
;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= wxPyMake_wxObject(result
);
13378 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13381 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13383 return Py_BuildValue((char *)"");
13385 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (int)(arg1
)->GetId();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= PyInt_FromLong((long)result
);
13410 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxControl
*)(arg1
)->GetControl();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= wxPyMake_wxObject(result
);
13437 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13440 wxToolBarBase
*result
;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= wxPyMake_wxObject(result
);
13464 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (int)(arg1
)->IsButton();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= PyInt_FromLong((long)result
);
13489 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (int)(arg1
)->IsControl();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= PyInt_FromLong((long)result
);
13514 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)(arg1
)->IsSeparator();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= PyInt_FromLong((long)result
);
13539 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (int)(arg1
)->GetStyle();
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= PyInt_FromLong((long)result
);
13564 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (int)(arg1
)->GetKind();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= PyInt_FromLong((long)result
);
13589 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (bool)(arg1
)->IsEnabled();
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= PyInt_FromLong((long)result
);
13614 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)(arg1
)->IsToggled();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= PyInt_FromLong((long)result
);
13639 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (bool)(arg1
)->CanBeToggled();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= PyInt_FromLong((long)result
);
13664 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13679 result
= (wxBitmap
*) &_result_ref
;
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13692 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13707 result
= (wxBitmap
*) &_result_ref
;
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13720 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (arg1
)->GetBitmap();
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 wxBitmap
* resultptr
;
13740 resultptr
= new wxBitmap((wxBitmap
&) result
);
13741 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13749 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (arg1
)->GetLabel();
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13780 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (arg1
)->GetShortHelp();
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13811 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 char *kwnames
[] = {
13817 (char *) "self", NULL
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (arg1
)->GetLongHelp();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13842 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "enable", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 arg2
= (bool) SPyObj_AsBool(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (bool)(arg1
)->Enable(arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= PyInt_FromLong((long)result
);
13873 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "toggle", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13911 arg2
= (bool) SPyObj_AsBool(obj1
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (bool)(arg1
)->SetToggle(arg2
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= PyInt_FromLong((long)result
);
13928 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13931 wxString
*arg2
= 0 ;
13933 bool temp2
= False
;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "help", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13943 arg2
= wxString_in_helper(obj1
);
13944 if (arg2
== NULL
) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= PyInt_FromLong((long)result
);
13969 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13972 wxString
*arg2
= 0 ;
13974 bool temp2
= False
;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self",(char *) "help", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13984 arg2
= wxString_in_helper(obj1
);
13985 if (arg2
== NULL
) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= PyInt_FromLong((long)result
);
14010 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14013 wxBitmap
*arg2
= 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "bmp", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14023 if (arg2
== NULL
) {
14024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14043 wxBitmap
*arg2
= 0 ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "bmp", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 if (arg2
== NULL
) {
14054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14073 wxString
*arg2
= 0 ;
14074 bool temp2
= False
;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self",(char *) "label", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14084 arg2
= wxString_in_helper(obj1
);
14085 if (arg2
== NULL
) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->SetLabel((wxString
const &)*arg2
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14110 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14137 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self",(char *) "tbar", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 (arg1
)->Attach(arg2
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 Py_INCREF(Py_None
); resultobj
= Py_None
;
14161 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= result
;
14186 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14189 PyObject
*arg2
= (PyObject
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "clientData", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 wxToolBarToolBase_SetClientData(arg1
,arg2
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 Py_INCREF(Py_None
); resultobj
= Py_None
;
14213 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
14215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14216 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
14218 return Py_BuildValue((char *)"");
14220 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14224 wxString
*arg3
= 0 ;
14225 wxBitmap
*arg4
= 0 ;
14226 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
14227 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
14228 int arg6
= (int) wxITEM_NORMAL
;
14229 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14231 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14233 PyObject
*arg9
= (PyObject
*) NULL
;
14234 wxToolBarToolBase
*result
;
14235 bool temp3
= False
;
14236 bool temp7
= False
;
14237 bool temp8
= False
;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 PyObject
* obj3
= 0 ;
14241 PyObject
* obj4
= 0 ;
14242 PyObject
* obj6
= 0 ;
14243 PyObject
* obj7
= 0 ;
14244 PyObject
* obj8
= 0 ;
14245 char *kwnames
[] = {
14246 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
14250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14252 arg3
= wxString_in_helper(obj2
);
14253 if (arg3
== NULL
) SWIG_fail
;
14256 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14257 if (arg4
== NULL
) {
14258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14261 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14262 if (arg5
== NULL
) {
14263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14268 arg7
= wxString_in_helper(obj6
);
14269 if (arg7
== NULL
) SWIG_fail
;
14275 arg8
= wxString_in_helper(obj7
);
14276 if (arg8
== NULL
) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= wxPyMake_wxObject(result
);
14323 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14328 wxString
*arg4
= 0 ;
14329 wxBitmap
*arg5
= 0 ;
14330 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
14331 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
14332 int arg7
= (int) wxITEM_NORMAL
;
14333 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14335 wxString
const &arg9_defvalue
= wxPyEmptyString
;
14336 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14337 PyObject
*arg10
= (PyObject
*) NULL
;
14338 wxToolBarToolBase
*result
;
14339 bool temp4
= False
;
14340 bool temp8
= False
;
14341 bool temp9
= False
;
14342 PyObject
* obj0
= 0 ;
14343 PyObject
* obj1
= 0 ;
14344 PyObject
* obj3
= 0 ;
14345 PyObject
* obj4
= 0 ;
14346 PyObject
* obj5
= 0 ;
14347 PyObject
* obj7
= 0 ;
14348 PyObject
* obj8
= 0 ;
14349 PyObject
* obj9
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14357 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 arg4
= wxString_in_helper(obj3
);
14362 if (arg4
== NULL
) SWIG_fail
;
14365 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14366 if (arg5
== NULL
) {
14367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14370 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14371 if (arg6
== NULL
) {
14372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14377 arg8
= wxString_in_helper(obj7
);
14378 if (arg8
== NULL
) SWIG_fail
;
14384 arg9
= wxString_in_helper(obj8
);
14385 if (arg9
== NULL
) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 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
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= wxPyMake_wxObject(result
);
14432 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14435 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14436 wxToolBarToolBase
*result
;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self",(char *) "tool", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= wxPyMake_wxObject(result
);
14462 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14466 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14467 wxToolBarToolBase
*result
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "pos",(char *) "tool", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= wxPyMake_wxObject(result
);
14498 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14501 wxControl
*arg2
= (wxControl
*) 0 ;
14502 wxToolBarToolBase
*result
;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "control", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= wxPyMake_wxObject(result
);
14528 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14532 wxControl
*arg3
= (wxControl
*) 0 ;
14533 wxToolBarToolBase
*result
;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 PyObject
* obj2
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self",(char *) "pos",(char *) "control", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= wxPyMake_wxObject(result
);
14564 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "id", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= wxPyMake_wxObject(result
);
14592 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14595 wxToolBarToolBase
*result
;
14596 PyObject
* obj0
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= wxPyMake_wxObject(result
);
14619 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14623 wxToolBarToolBase
*result
;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self",(char *) "pos", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14633 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= wxPyMake_wxObject(result
);
14652 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14656 wxToolBarToolBase
*result
;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self",(char *) "id", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= wxPyMake_wxObject(result
);
14680 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self",(char *) "pos", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14694 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= PyInt_FromLong((long)result
);
14711 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "id", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (bool)(arg1
)->DeleteTool(arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= PyInt_FromLong((long)result
);
14737 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->ClearTools();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)(arg1
)->Realize();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= PyInt_FromLong((long)result
);
14786 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "id",(char *) "enable", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 arg3
= (bool) SPyObj_AsBool(obj2
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->EnableTool(arg2
,arg3
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj2
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self",(char *) "id",(char *) "toggle", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14831 arg3
= (bool) SPyObj_AsBool(obj2
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->ToggleTool(arg2
,arg3
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "id",(char *) "toggle", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 arg3
= (bool) SPyObj_AsBool(obj2
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 (arg1
)->SetToggle(arg2
,arg3
);
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14872 Py_INCREF(Py_None
); resultobj
= Py_None
;
14879 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "id", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
;
14905 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14909 PyObject
*arg3
= (PyObject
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj2
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "id",(char *) "clientData", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14933 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "id", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= PyInt_FromLong((long)result
);
14959 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "id", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (bool)(arg1
)->GetToolState(arg2
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= PyInt_FromLong((long)result
);
14985 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "id", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= PyInt_FromLong((long)result
);
15011 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15015 wxString
*arg3
= 0 ;
15016 bool temp3
= False
;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj2
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self",(char *) "id",(char *) "helpString", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15026 arg3
= wxString_in_helper(obj2
);
15027 if (arg3
== NULL
) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "id", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (arg1
)->GetToolShortHelp(arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15084 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15088 wxString
*arg3
= 0 ;
15089 bool temp3
= False
;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj2
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "id",(char *) "helpString", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15099 arg3
= wxString_in_helper(obj2
);
15100 if (arg3
== NULL
) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self",(char *) "id", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (arg1
)->GetToolLongHelp(arg2
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15157 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15162 PyObject
* obj0
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self",(char *) "x",(char *) "y", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetMargins(arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 Py_INCREF(Py_None
); resultobj
= Py_None
;
15183 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self",(char *) "size", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 (arg1
)->SetMargins((wxSize
const &)*arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 Py_INCREF(Py_None
); resultobj
= Py_None
;
15214 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self",(char *) "packing", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->SetToolPacking(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "separation", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->SetToolSeparation(arg2
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 Py_INCREF(Py_None
); resultobj
= Py_None
;
15264 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (arg1
)->GetToolMargins();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 wxSize
* resultptr
;
15284 resultptr
= new wxSize((wxSize
&) result
);
15285 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15293 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (arg1
)->GetMargins();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 wxSize
* resultptr
;
15313 resultptr
= new wxSize((wxSize
&) result
);
15314 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15322 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (int)(arg1
)->GetToolPacking();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= PyInt_FromLong((long)result
);
15347 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (int)(arg1
)->GetToolSeparation();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= PyInt_FromLong((long)result
);
15372 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "nRows", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 (arg1
)->SetRows(arg2
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 Py_INCREF(Py_None
); resultobj
= Py_None
;
15397 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "rows",(char *) "cols", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 Py_INCREF(Py_None
); resultobj
= Py_None
;
15423 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (int)(arg1
)->GetMaxRows();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= PyInt_FromLong((long)result
);
15448 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (int)(arg1
)->GetMaxCols();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= PyInt_FromLong((long)result
);
15473 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "size", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 Py_INCREF(Py_None
); resultobj
= Py_None
;
15504 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (arg1
)->GetToolBitmapSize();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 wxSize
* resultptr
;
15524 resultptr
= new wxSize((wxSize
&) result
);
15525 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15533 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (arg1
)->GetToolSize();
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15552 wxSize
* resultptr
;
15553 resultptr
= new wxSize((wxSize
&) result
);
15554 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15562 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15567 wxToolBarToolBase
*result
;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "x",(char *) "y", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= wxPyMake_wxObject(result
);
15591 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15595 wxToolBarToolBase
*result
;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "toolid", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= wxPyMake_wxObject(result
);
15619 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (bool)(arg1
)->IsVertical();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= PyInt_FromLong((long)result
);
15644 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15649 return Py_BuildValue((char *)"");
15651 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxWindow
*arg1
= (wxWindow
*) 0 ;
15655 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15656 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15657 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15658 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15659 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15660 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15661 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15665 bool temp6
= False
;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 PyObject
* obj3
= 0 ;
15669 PyObject
* obj5
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15685 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15690 arg6
= wxString_in_helper(obj5
);
15691 if (arg6
== NULL
) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= wxPyMake_wxObject(result
);
15719 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15722 char *kwnames
[] = {
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxToolBar
*)new wxToolBar();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= wxPyMake_wxObject(result
);
15743 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15746 wxWindow
*arg2
= (wxWindow
*) 0 ;
15748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15752 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15753 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15758 bool temp7
= False
;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 PyObject
* obj3
= 0 ;
15762 PyObject
* obj4
= 0 ;
15763 PyObject
* obj6
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15785 arg7
= wxString_in_helper(obj6
);
15786 if (arg7
== NULL
) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= PyInt_FromLong((long)result
);
15812 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15817 wxToolBarToolBase
*result
;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self",(char *) "x",(char *) "y", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= wxPyMake_wxObject(result
);
15841 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15844 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15846 return Py_BuildValue((char *)"");
15848 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15849 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15854 static PyObject
*_wrap_ListCtrlNameStr_get() {
15859 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15861 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15868 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxColour
const &arg1_defvalue
= wxNullColour
;
15871 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15872 wxColour
const &arg2_defvalue
= wxNullColour
;
15873 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15874 wxFont
const &arg3_defvalue
= wxNullFont
;
15875 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15876 wxListItemAttr
*result
;
15879 PyObject
* obj0
= 0 ;
15880 PyObject
* obj1
= 0 ;
15881 PyObject
* obj2
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15890 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15900 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15901 if (arg3
== NULL
) {
15902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15919 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15922 wxColour
*arg2
= 0 ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "colText", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15934 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 Py_INCREF(Py_None
); resultobj
= Py_None
;
15950 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15953 wxColour
*arg2
= 0 ;
15955 PyObject
* obj0
= 0 ;
15956 PyObject
* obj1
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self",(char *) "colBack", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self",(char *) "font", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15994 if (arg2
== NULL
) {
15995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->SetFont((wxFont
const &)*arg2
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)(arg1
)->HasTextColour();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= PyInt_FromLong((long)result
);
16036 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (bool)(arg1
)->HasBackgroundColour();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= PyInt_FromLong((long)result
);
16061 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (bool)(arg1
)->HasFont();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= PyInt_FromLong((long)result
);
16086 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (arg1
)->GetTextColour();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 wxColour
* resultptr
;
16106 resultptr
= new wxColour((wxColour
&) result
);
16107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16115 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (arg1
)->GetBackgroundColour();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 wxColour
* resultptr
;
16135 resultptr
= new wxColour((wxColour
&) result
);
16136 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16144 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (arg1
)->GetFont();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 wxFont
* resultptr
;
16164 resultptr
= new wxFont((wxFont
&) result
);
16165 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16173 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 wxListItemAttr_Destroy(arg1
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 Py_INCREF(Py_None
); resultobj
= Py_None
;
16197 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
16199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16200 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
16202 return Py_BuildValue((char *)"");
16204 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxListItem
*result
;
16207 char *kwnames
[] = {
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (wxListItem
*)new wxListItem();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= wxPyMake_wxObject(result
);
16228 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxListItem
*arg1
= (wxListItem
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxListItem
*arg1
= (wxListItem
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 Py_INCREF(Py_None
); resultobj
= Py_None
;
16276 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxListItem
*arg1
= (wxListItem
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->ClearAttributes();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxListItem
*arg1
= (wxListItem
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self",(char *) "mask", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 (arg1
)->SetMask(arg2
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 Py_INCREF(Py_None
); resultobj
= Py_None
;
16325 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxListItem
*arg1
= (wxListItem
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "id", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->SetId(arg2
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16350 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxListItem
*arg1
= (wxListItem
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "col", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
16360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->SetColumn(arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxListItem
*arg1
= (wxListItem
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "state", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->SetState(arg2
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 Py_INCREF(Py_None
); resultobj
= Py_None
;
16400 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxListItem
*arg1
= (wxListItem
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "stateMask", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->SetStateMask(arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxListItem
*arg1
= (wxListItem
*) 0 ;
16428 wxString
*arg2
= 0 ;
16429 bool temp2
= False
;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "text", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16439 arg2
= wxString_in_helper(obj1
);
16440 if (arg2
== NULL
) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetText((wxString
const &)*arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16465 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxListItem
*arg1
= (wxListItem
*) 0 ;
16469 PyObject
* obj0
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self",(char *) "image", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->SetImage(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxListItem
*arg1
= (wxListItem
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self",(char *) "data", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetData(arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxListItem
*arg1
= (wxListItem
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self",(char *) "width", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 (arg1
)->SetWidth(arg2
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 Py_INCREF(Py_None
); resultobj
= Py_None
;
16540 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxListItem
*arg1
= (wxListItem
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "align", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 Py_INCREF(Py_None
); resultobj
= Py_None
;
16565 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxListItem
*arg1
= (wxListItem
*) 0 ;
16568 wxColour
*arg2
= 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "colText", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxListItem
*arg1
= (wxListItem
*) 0 ;
16599 wxColour
*arg2
= 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "colBack", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxListItem
*arg1
= (wxListItem
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self",(char *) "font", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16640 if (arg2
== NULL
) {
16641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->SetFont((wxFont
const &)*arg2
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxListItem
*arg1
= (wxListItem
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (long)(arg1
)->GetMask();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= PyInt_FromLong((long)result
);
16682 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxListItem
*arg1
= (wxListItem
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (long)(arg1
)->GetId();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= PyInt_FromLong((long)result
);
16707 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxListItem
*arg1
= (wxListItem
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (int)(arg1
)->GetColumn();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= PyInt_FromLong((long)result
);
16732 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxListItem
*arg1
= (wxListItem
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (long)(arg1
)->GetState();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= PyInt_FromLong((long)result
);
16757 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxListItem
*arg1
= (wxListItem
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 wxString
const &_result_ref
= (arg1
)->GetText();
16772 result
= (wxString
*) &_result_ref
;
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16791 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxListItem
*arg1
= (wxListItem
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (int)(arg1
)->GetImage();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= PyInt_FromLong((long)result
);
16816 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxListItem
*arg1
= (wxListItem
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (long)(arg1
)->GetData();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= PyInt_FromLong((long)result
);
16841 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxListItem
*arg1
= (wxListItem
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (int)(arg1
)->GetWidth();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= PyInt_FromLong((long)result
);
16866 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxListItem
*arg1
= (wxListItem
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 result
= (int)(arg1
)->GetAlign();
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= PyInt_FromLong((long)result
);
16891 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxListItem
*arg1
= (wxListItem
*) 0 ;
16894 wxListItemAttr
*result
;
16895 PyObject
* obj0
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16916 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxListItem
*arg1
= (wxListItem
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)(arg1
)->HasAttributes();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= PyInt_FromLong((long)result
);
16941 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxListItem
*arg1
= (wxListItem
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 wxColour
* resultptr
;
16961 resultptr
= new wxColour((wxColour
&) result
);
16962 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16970 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxListItem
*arg1
= (wxListItem
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 wxColour
* resultptr
;
16990 resultptr
= new wxColour((wxColour
&) result
);
16991 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16999 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxListItem
*arg1
= (wxListItem
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= ((wxListItem
const *)arg1
)->GetFont();
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 wxFont
* resultptr
;
17019 resultptr
= new wxFont((wxFont
&) result
);
17020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17028 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxListItem
*arg1
= (wxListItem
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "m_mask", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 if (arg1
) (arg1
)->m_mask
= arg2
;
17041 Py_INCREF(Py_None
); resultobj
= Py_None
;
17048 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxListItem
*arg1
= (wxListItem
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17059 result
= (long) ((arg1
)->m_mask
);
17061 resultobj
= PyInt_FromLong((long)result
);
17068 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxListItem
*arg1
= (wxListItem
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "m_itemId", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17079 if (arg1
) (arg1
)->m_itemId
= arg2
;
17081 Py_INCREF(Py_None
); resultobj
= Py_None
;
17088 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxListItem
*arg1
= (wxListItem
*) 0 ;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
17098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17099 result
= (long) ((arg1
)->m_itemId
);
17101 resultobj
= PyInt_FromLong((long)result
);
17108 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxListItem
*arg1
= (wxListItem
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self",(char *) "m_col", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17119 if (arg1
) (arg1
)->m_col
= arg2
;
17121 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxListItem
*arg1
= (wxListItem
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17139 result
= (int) ((arg1
)->m_col
);
17141 resultobj
= PyInt_FromLong((long)result
);
17148 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxListItem
*arg1
= (wxListItem
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self",(char *) "m_state", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17159 if (arg1
) (arg1
)->m_state
= arg2
;
17161 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxListItem
*arg1
= (wxListItem
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17179 result
= (long) ((arg1
)->m_state
);
17181 resultobj
= PyInt_FromLong((long)result
);
17188 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxListItem
*arg1
= (wxListItem
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "m_stateMask", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17199 if (arg1
) (arg1
)->m_stateMask
= arg2
;
17201 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxListItem
*arg1
= (wxListItem
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17219 result
= (long) ((arg1
)->m_stateMask
);
17221 resultobj
= PyInt_FromLong((long)result
);
17228 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxListItem
*arg1
= (wxListItem
*) 0 ;
17231 wxString
*arg2
= (wxString
*) 0 ;
17232 bool temp2
= False
;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self",(char *) "m_text", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17242 arg2
= wxString_in_helper(obj1
);
17243 if (arg2
== NULL
) SWIG_fail
;
17246 if (arg1
) (arg1
)->m_text
= *arg2
;
17248 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxListItem
*arg1
= (wxListItem
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 result
= (wxString
*)& ((arg1
)->m_text
);
17278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17289 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxListItem
*arg1
= (wxListItem
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "m_image", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17300 if (arg1
) (arg1
)->m_image
= arg2
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxListItem
*arg1
= (wxListItem
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17320 result
= (int) ((arg1
)->m_image
);
17322 resultobj
= PyInt_FromLong((long)result
);
17329 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxListItem
*arg1
= (wxListItem
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "m_data", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17340 if (arg1
) (arg1
)->m_data
= arg2
;
17342 Py_INCREF(Py_None
); resultobj
= Py_None
;
17349 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxListItem
*arg1
= (wxListItem
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17360 result
= (long) ((arg1
)->m_data
);
17362 resultobj
= PyInt_FromLong((long)result
);
17369 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxListItem
*arg1
= (wxListItem
*) 0 ;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "m_format", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17380 if (arg1
) (arg1
)->m_format
= arg2
;
17382 Py_INCREF(Py_None
); resultobj
= Py_None
;
17389 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxListItem
*arg1
= (wxListItem
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17400 result
= (int) ((arg1
)->m_format
);
17402 resultobj
= PyInt_FromLong((long)result
);
17409 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxListItem
*arg1
= (wxListItem
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "m_width", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 if (arg1
) (arg1
)->m_width
= arg2
;
17422 Py_INCREF(Py_None
); resultobj
= Py_None
;
17429 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxListItem
*arg1
= (wxListItem
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17440 result
= (int) ((arg1
)->m_width
);
17442 resultobj
= PyInt_FromLong((long)result
);
17449 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17452 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17454 return Py_BuildValue((char *)"");
17456 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17459 int arg2
= (int) 0 ;
17460 wxListEvent
*result
;
17461 char *kwnames
[] = {
17462 (char *) "commandType",(char *) "id", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17480 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "m_code", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 if (arg1
) (arg1
)->m_code
= arg2
;
17493 Py_INCREF(Py_None
); resultobj
= Py_None
;
17500 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 result
= (int) ((arg1
)->m_code
);
17513 resultobj
= PyInt_FromLong((long)result
);
17520 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 char *kwnames
[] = {
17526 (char *) "self",(char *) "m_oldItemIndex", NULL
17529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17531 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17544 PyObject
* obj0
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17551 result
= (long) ((arg1
)->m_oldItemIndex
);
17553 resultobj
= PyInt_FromLong((long)result
);
17560 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "m_itemIndex", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17571 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 result
= (long) ((arg1
)->m_itemIndex
);
17593 resultobj
= PyInt_FromLong((long)result
);
17600 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17604 PyObject
* obj0
= 0 ;
17605 char *kwnames
[] = {
17606 (char *) "self",(char *) "m_col", NULL
17609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17611 if (arg1
) (arg1
)->m_col
= arg2
;
17613 Py_INCREF(Py_None
); resultobj
= Py_None
;
17620 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17631 result
= (int) ((arg1
)->m_col
);
17633 resultobj
= PyInt_FromLong((long)result
);
17640 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17643 wxPoint
*arg2
= (wxPoint
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "m_pointDrag", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
*_wrap_ListEvent_m_pointDrag_get(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_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17673 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17682 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17685 wxListItem
*result
;
17686 PyObject
* obj0
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17693 result
= (wxListItem
*)& ((arg1
)->m_item
);
17696 resultobj
= wxPyMake_wxObject(result
);
17704 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (int)(arg1
)->GetKeyCode();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= PyInt_FromLong((long)result
);
17729 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (long)(arg1
)->GetIndex();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= PyInt_FromLong((long)result
);
17754 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (int)(arg1
)->GetColumn();
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= PyInt_FromLong((long)result
);
17779 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17783 PyObject
* obj0
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "self", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (arg1
)->GetPoint();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 wxPoint
* resultptr
;
17799 resultptr
= new wxPoint((wxPoint
&) result
);
17800 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17808 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 wxString
const &_result_ref
= (arg1
)->GetLabel();
17823 result
= (wxString
*) &_result_ref
;
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17842 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 wxString
const &_result_ref
= (arg1
)->GetText();
17857 result
= (wxString
*) &_result_ref
;
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17876 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (int)(arg1
)->GetImage();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= PyInt_FromLong((long)result
);
17901 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (long)(arg1
)->GetData();
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyInt_FromLong((long)result
);
17926 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (long)(arg1
)->GetMask();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= PyInt_FromLong((long)result
);
17951 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17954 wxListItem
*result
;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17966 result
= (wxListItem
*) &_result_ref
;
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17979 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (long)(arg1
)->GetCacheFrom();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= PyInt_FromLong((long)result
);
18004 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (long)(arg1
)->GetCacheTo();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= PyInt_FromLong((long)result
);
18029 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= PyInt_FromLong((long)result
);
18054 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self",(char *) "editCancelled", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18067 arg2
= (bool) SPyObj_AsBool(obj1
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetEditCanceled(arg2
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18084 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18087 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
18089 return Py_BuildValue((char *)"");
18091 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxWindow
*arg1
= (wxWindow
*) 0 ;
18094 int arg2
= (int) -1 ;
18095 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18096 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18097 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18098 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18099 long arg5
= (long) wxLC_ICON
;
18100 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
18101 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
18102 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
18103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18104 wxPyListCtrl
*result
;
18107 bool temp7
= False
;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj2
= 0 ;
18110 PyObject
* obj3
= 0 ;
18111 PyObject
* obj5
= 0 ;
18112 PyObject
* obj6
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18132 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18133 if (arg6
== NULL
) {
18134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18139 arg7
= wxString_in_helper(obj6
);
18140 if (arg7
== NULL
) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18166 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPyListCtrl
*result
;
18169 char *kwnames
[] = {
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (wxPyListCtrl
*)new wxPyListCtrl();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
18188 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18191 wxWindow
*arg2
= (wxWindow
*) 0 ;
18192 int arg3
= (int) -1 ;
18193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18197 long arg6
= (long) wxLC_ICON
;
18198 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18199 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18200 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
18201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18205 bool temp8
= False
;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj3
= 0 ;
18209 PyObject
* obj4
= 0 ;
18210 PyObject
* obj6
= 0 ;
18211 PyObject
* obj7
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18222 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18228 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18232 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 if (arg7
== NULL
) {
18234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18239 arg8
= wxString_in_helper(obj7
);
18240 if (arg8
== NULL
) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= PyInt_FromLong((long)result
);
18266 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18269 PyObject
*arg2
= (PyObject
*) 0 ;
18270 PyObject
*arg3
= (PyObject
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "self",(char *) "_class", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 Py_INCREF(Py_None
); resultobj
= Py_None
;
18296 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18299 wxColour
*arg2
= 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "col", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18312 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= PyInt_FromLong((long)result
);
18328 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18331 wxColour
*arg2
= 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "col", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= PyInt_FromLong((long)result
);
18360 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18364 wxListItem
*result
;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "col", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= wxPyMake_wxObject(result
);
18388 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18392 wxListItem
*arg3
= 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "col",(char *) "item", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18403 if (arg3
== NULL
) {
18404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= PyInt_FromLong((long)result
);
18420 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self",(char *) "col", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= PyInt_FromLong((long)result
);
18446 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "col",(char *) "width", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= PyInt_FromLong((long)result
);
18473 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= PyInt_FromLong((long)result
);
18498 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18517 wxRect
* resultptr
;
18518 resultptr
= new wxRect((wxRect
&) result
);
18519 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18527 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18530 wxTextCtrl
*result
;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= wxPyMake_wxObject(result
);
18554 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18558 int arg3
= (int) 0 ;
18559 wxListItem
*result
;
18560 PyObject
* obj0
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "itemId",(char *) "col", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= wxPyMake_wxObject(result
);
18583 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18586 wxListItem
*arg2
= 0 ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self",(char *) "info", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18597 if (arg2
== NULL
) {
18598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (bool)(arg1
)->SetItem(*arg2
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= PyInt_FromLong((long)result
);
18614 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18619 wxString
*arg4
= 0 ;
18620 int arg5
= (int) -1 ;
18622 bool temp4
= False
;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj3
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18632 arg4
= wxString_in_helper(obj3
);
18633 if (arg4
== NULL
) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= PyInt_FromLong((long)result
);
18658 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= PyInt_FromLong((long)result
);
18685 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= PyInt_FromLong((long)result
);
18713 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= PyInt_FromLong((long)result
);
18741 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self",(char *) "item", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18773 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18777 wxString
*arg3
= 0 ;
18778 bool temp3
= False
;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj2
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "item",(char *) "str", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18788 arg3
= wxString_in_helper(obj2
);
18789 if (arg3
== NULL
) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18814 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self",(char *) "item", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= PyInt_FromLong((long)result
);
18840 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "item",(char *) "data", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= PyInt_FromLong((long)result
);
18867 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "item", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 wxPoint
* resultptr
;
18888 resultptr
= new wxPoint((wxPoint
&) result
);
18889 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18897 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18901 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "item",(char *) "code", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 wxRect
* resultptr
;
18919 resultptr
= new wxRect((wxRect
&) result
);
18920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18928 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18932 wxPoint
*arg3
= 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj2
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "item",(char *) "pos", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 resultobj
= PyInt_FromLong((long)result
);
18961 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= PyInt_FromLong((long)result
);
18986 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= PyInt_FromLong((long)result
);
19011 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 wxSize
* resultptr
;
19031 resultptr
= new wxSize((wxSize
&) result
);
19032 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19040 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= PyInt_FromLong((long)result
);
19065 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 wxColour
* resultptr
;
19085 resultptr
= new wxColour((wxColour
&) result
);
19086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19094 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19097 wxColour
*arg2
= 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "col", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= PyInt_FromLong((long)result
);
19150 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19154 bool arg3
= (bool) True
;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj2
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "style",(char *) "add", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19165 arg3
= (bool) SPyObj_AsBool(obj2
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetSingleStyle(arg2
,arg3
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "style", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetWindowStyleFlag(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19212 int arg3
= (int) wxLIST_NEXT_ALL
;
19213 int arg4
= (int) wxLIST_STATE_DONTCARE
;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= PyInt_FromLong((long)result
);
19236 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19240 wxImageList
*result
;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "which", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= wxPyMake_wxObject(result
);
19264 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19267 wxImageList
*arg2
= (wxImageList
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self",(char *) "imageList",(char *) "which", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->SetImageList(arg2
,arg3
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19295 wxImageList
*arg2
= (wxImageList
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "imageList",(char *) "which", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 (arg1
)->AssignImageList(arg2
,arg3
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 Py_INCREF(Py_None
); resultobj
= Py_None
;
19320 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= PyInt_FromLong((long)result
);
19345 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "item", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->RefreshItem(arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 (arg1
)->RefreshItems(arg2
,arg3
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19399 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "flag", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (bool)(arg1
)->Arrange(arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= PyInt_FromLong((long)result
);
19422 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "item", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (bool)(arg1
)->DeleteItem(arg2
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= PyInt_FromLong((long)result
);
19448 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (bool)(arg1
)->DeleteAllItems();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= PyInt_FromLong((long)result
);
19473 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "col", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= PyInt_FromLong((long)result
);
19499 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (bool)(arg1
)->DeleteAllColumns();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= PyInt_FromLong((long)result
);
19524 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->ClearAll();
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 Py_INCREF(Py_None
); resultobj
= Py_None
;
19548 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19552 wxTextCtrl
*result
;
19553 PyObject
* obj0
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "item", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= wxPyMake_wxObject(result
);
19576 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 PyObject
* obj1
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self",(char *) "cancel", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19590 arg2
= (bool) SPyObj_AsBool(obj1
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (bool)(arg1
)->EndEditLabel(arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= PyInt_FromLong((long)result
);
19607 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19612 PyObject
* obj0
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "item", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= PyInt_FromLong((long)result
);
19633 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19637 wxString
*arg3
= 0 ;
19638 bool arg4
= (bool) False
;
19640 bool temp3
= False
;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 PyObject
* obj3
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 arg3
= wxString_in_helper(obj2
);
19652 if (arg3
== NULL
) SWIG_fail
;
19657 arg4
= (bool) SPyObj_AsBool(obj3
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= PyInt_FromLong((long)result
);
19683 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "start",(char *) "data", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= PyInt_FromLong((long)result
);
19710 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19714 wxPoint
*arg3
= 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj2
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= PyInt_FromLong((long)result
);
19744 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19747 wxPoint
*arg2
= 0 ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self",(char *) "point", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= PyInt_FromLong((long)result
);
19774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19775 resultobj
= t_output_helper(resultobj
,o
);
19783 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19786 wxListItem
*arg2
= 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "info", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19797 if (arg2
== NULL
) {
19798 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (long)(arg1
)->InsertItem(*arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= PyInt_FromLong((long)result
);
19814 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19818 wxString
*arg3
= 0 ;
19820 bool temp3
= False
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj2
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self",(char *) "index",(char *) "label", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19830 arg3
= wxString_in_helper(obj2
);
19831 if (arg3
== NULL
) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= PyInt_FromLong((long)result
);
19856 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= PyInt_FromLong((long)result
);
19883 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19887 wxString
*arg3
= 0 ;
19890 bool temp3
= False
;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19900 arg3
= wxString_in_helper(obj2
);
19901 if (arg3
== NULL
) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= PyInt_FromLong((long)result
);
19926 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19930 wxListItem
*arg3
= 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj2
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "col",(char *) "info", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19940 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19941 if (arg3
== NULL
) {
19942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= PyInt_FromLong((long)result
);
19958 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19962 wxString
*arg3
= 0 ;
19963 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19964 int arg5
= (int) -1 ;
19966 bool temp3
= False
;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj2
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 arg3
= wxString_in_helper(obj2
);
19977 if (arg3
== NULL
) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= PyInt_FromLong((long)result
);
20002 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "count", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 (arg1
)->SetItemCount(arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 Py_INCREF(Py_None
); resultobj
= Py_None
;
20027 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "dx",(char *) "dy", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= PyInt_FromLong((long)result
);
20054 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20058 wxColour
*arg3
= 0 ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj2
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "item",(char *) "col", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self",(char *) "item", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 wxColour
* resultptr
;
20107 resultptr
= new wxColour((wxColour
&) result
);
20108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20116 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20120 wxColour
*arg3
= 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj2
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "item",(char *) "col", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20132 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self",(char *) "item", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
20159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 wxColour
* resultptr
;
20169 resultptr
= new wxColour((wxColour
&) result
);
20170 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20178 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20181 PyObject
*arg2
= (PyObject
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "func", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= PyInt_FromLong((long)result
);
20206 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= wxPyMake_wxObject(result
);
20233 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
20235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20236 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
20238 return Py_BuildValue((char *)"");
20240 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxWindow
*arg1
= (wxWindow
*) 0 ;
20243 int arg2
= (int) -1 ;
20244 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20245 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20246 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20247 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20248 long arg5
= (long) wxLC_REPORT
;
20249 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20250 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20251 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20253 wxListView
*result
;
20256 bool temp7
= False
;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj2
= 0 ;
20259 PyObject
* obj3
= 0 ;
20260 PyObject
* obj5
= 0 ;
20261 PyObject
* obj6
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20277 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20281 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 if (arg6
== NULL
) {
20283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20288 arg7
= wxString_in_helper(obj6
);
20289 if (arg7
== NULL
) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20315 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxListView
*result
;
20318 char *kwnames
[] = {
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (wxListView
*)new wxListView();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20337 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxListView
*arg1
= (wxListView
*) 0 ;
20340 wxWindow
*arg2
= (wxWindow
*) 0 ;
20341 int arg3
= (int) -1 ;
20342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20346 long arg6
= (long) wxLC_REPORT
;
20347 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20348 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20349 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20350 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20354 bool temp8
= False
;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 PyObject
* obj3
= 0 ;
20358 PyObject
* obj4
= 0 ;
20359 PyObject
* obj6
= 0 ;
20360 PyObject
* obj7
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20377 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20381 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20382 if (arg7
== NULL
) {
20383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20388 arg8
= wxString_in_helper(obj7
);
20389 if (arg8
== NULL
) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= PyInt_FromLong((long)result
);
20415 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxListView
*arg1
= (wxListView
*) 0 ;
20419 bool arg3
= (bool) True
;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj2
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "n",(char *) "on", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20430 arg3
= (bool) SPyObj_AsBool(obj2
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 (arg1
)->Select(arg2
,arg3
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 Py_INCREF(Py_None
); resultobj
= Py_None
;
20448 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxListView
*arg1
= (wxListView
*) 0 ;
20452 PyObject
* obj0
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "index", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 (arg1
)->Focus(arg2
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20473 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxListView
*arg1
= (wxListView
*) 0 ;
20477 PyObject
* obj0
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= PyInt_FromLong((long)result
);
20498 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxListView
*arg1
= (wxListView
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self",(char *) "item", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= PyInt_FromLong((long)result
);
20524 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxListView
*arg1
= (wxListView
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= PyInt_FromLong((long)result
);
20549 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxListView
*arg1
= (wxListView
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self",(char *) "index", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (bool)(arg1
)->IsSelected(arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= PyInt_FromLong((long)result
);
20575 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxListView
*arg1
= (wxListView
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "col",(char *) "image", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetColumnImage(arg2
,arg3
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 Py_INCREF(Py_None
); resultobj
= Py_None
;
20601 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxListView
*arg1
= (wxListView
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "col", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->ClearColumnImage(arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20629 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20631 return Py_BuildValue((char *)"");
20633 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20634 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20639 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20644 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20646 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20653 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 wxTreeItemId
*result
;
20656 char *kwnames
[] = {
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxTreeItemId
*)new wxTreeItemId();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20675 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20678 PyObject
* obj0
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= PyInt_FromLong((long)result
);
20724 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20727 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self",(char *) "other", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= PyInt_FromLong((long)result
);
20752 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20755 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "other", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= PyInt_FromLong((long)result
);
20780 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20783 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "m_pItem", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20793 if (arg1
) (arg1
)->m_pItem
= arg2
;
20795 Py_INCREF(Py_None
); resultobj
= Py_None
;
20802 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20805 wxTreeItemIdValue result
;
20806 PyObject
* obj0
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20813 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20822 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20825 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20827 return Py_BuildValue((char *)"");
20829 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 PyObject
*arg1
= (PyObject
*) NULL
;
20832 wxPyTreeItemData
*result
;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "obj", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20856 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (PyObject
*)(arg1
)->GetData();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= result
;
20881 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20884 PyObject
*arg2
= (PyObject
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "obj", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->SetData(arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20911 wxTreeItemId
*result
;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20923 result
= (wxTreeItemId
*) &_result_ref
;
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20936 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20939 wxTreeItemId
*arg2
= 0 ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "id", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20949 if (arg2
== NULL
) {
20950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 Py_INCREF(Py_None
); resultobj
= Py_None
;
20966 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 wxPyTreeItemData_Destroy(arg1
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 Py_INCREF(Py_None
); resultobj
= Py_None
;
20990 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20993 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20995 return Py_BuildValue((char *)"");
20997 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21000 int arg2
= (int) 0 ;
21001 wxTreeEvent
*result
;
21002 char *kwnames
[] = {
21003 (char *) "commandType",(char *) "id", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
21021 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21024 wxTreeItemId result
;
21025 PyObject
* obj0
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 wxTreeItemId
* resultptr
;
21041 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21050 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21053 wxTreeItemId
*arg2
= 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "item", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21063 if (arg2
== NULL
) {
21064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21080 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21083 wxTreeItemId result
;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21099 wxTreeItemId
* resultptr
;
21100 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21109 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21112 wxTreeItemId
*arg2
= 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self",(char *) "item", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21122 if (arg2
== NULL
) {
21123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 Py_INCREF(Py_None
); resultobj
= Py_None
;
21139 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 wxPoint
* resultptr
;
21159 resultptr
= new wxPoint((wxPoint
&) result
);
21160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21168 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21171 wxPoint
*arg2
= 0 ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "pt", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21202 wxKeyEvent
*result
;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
21214 result
= (wxKeyEvent
*) &_result_ref
;
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
21227 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= PyInt_FromLong((long)result
);
21252 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21255 wxKeyEvent
*arg2
= 0 ;
21256 PyObject
* obj0
= 0 ;
21257 PyObject
* obj1
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self",(char *) "evt", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21265 if (arg2
== NULL
) {
21266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
21297 result
= (wxString
*) &_result_ref
;
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21316 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21319 wxString
*arg2
= 0 ;
21320 bool temp2
= False
;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "label", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21330 arg2
= wxString_in_helper(obj1
);
21331 if (arg2
== NULL
) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetLabel((wxString
const &)*arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21356 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= PyInt_FromLong((long)result
);
21381 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "editCancelled", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21394 arg2
= (bool) SPyObj_AsBool(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->SetEditCanceled(arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21414 wxString
*arg2
= 0 ;
21415 bool temp2
= False
;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "toolTip", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21425 arg2
= wxString_in_helper(obj1
);
21426 if (arg2
== NULL
) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21454 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21456 return Py_BuildValue((char *)"");
21458 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxWindow
*arg1
= (wxWindow
*) 0 ;
21461 int arg2
= (int) -1 ;
21462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21466 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21467 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21468 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21469 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21471 wxPyTreeCtrl
*result
;
21474 bool temp7
= False
;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj2
= 0 ;
21477 PyObject
* obj3
= 0 ;
21478 PyObject
* obj5
= 0 ;
21479 PyObject
* obj6
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21495 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21499 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21500 if (arg6
== NULL
) {
21501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21506 arg7
= wxString_in_helper(obj6
);
21507 if (arg7
== NULL
) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= wxPyMake_wxObject(result
);
21535 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxPyTreeCtrl
*result
;
21538 char *kwnames
[] = {
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= wxPyMake_wxObject(result
);
21559 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21562 wxWindow
*arg2
= (wxWindow
*) 0 ;
21563 int arg3
= (int) -1 ;
21564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21568 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21569 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21570 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21571 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21572 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21576 bool temp8
= False
;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 PyObject
* obj6
= 0 ;
21582 PyObject
* obj7
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21604 if (arg7
== NULL
) {
21605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21610 arg8
= wxString_in_helper(obj7
);
21611 if (arg8
== NULL
) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= PyInt_FromLong((long)result
);
21637 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21640 PyObject
*arg2
= (PyObject
*) 0 ;
21641 PyObject
*arg3
= (PyObject
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 PyObject
* obj2
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "self",(char *) "_class", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 Py_INCREF(Py_None
); resultobj
= Py_None
;
21667 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21671 PyObject
* obj0
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21692 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21695 unsigned int result
;
21696 PyObject
* obj0
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21717 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21720 unsigned int arg2
;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "indent", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21730 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 (arg1
)->SetIndent(arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 Py_INCREF(Py_None
); resultobj
= Py_None
;
21747 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21750 unsigned int result
;
21751 PyObject
* obj0
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
21772 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21775 unsigned int arg2
;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "spacing", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21785 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->SetSpacing(arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21805 wxImageList
*result
;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= wxPyMake_wxObject(result
);
21829 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21832 wxImageList
*result
;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= wxPyMake_wxObject(result
);
21856 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21859 wxImageList
*arg2
= (wxImageList
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "imageList", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetImageList(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21886 wxImageList
*arg2
= (wxImageList
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "imageList", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->SetStateImageList(arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21913 wxImageList
*arg2
= (wxImageList
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "imageList", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 (arg1
)->AssignImageList(arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 Py_INCREF(Py_None
); resultobj
= Py_None
;
21937 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21940 wxImageList
*arg2
= (wxImageList
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "imageList", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->AssignStateImageList(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21967 wxTreeItemId
*arg2
= 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "item", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21978 if (arg2
== NULL
) {
21979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22001 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22004 wxTreeItemId
*arg2
= 0 ;
22005 int arg3
= (int) wxTreeItemIcon_Normal
;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "item",(char *) "which", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22016 if (arg2
== NULL
) {
22017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= PyInt_FromLong((long)result
);
22033 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22036 wxTreeItemId
*arg2
= 0 ;
22037 wxPyTreeItemData
*result
;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self",(char *) "item", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22047 if (arg2
== NULL
) {
22048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
22064 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22067 wxTreeItemId
*arg2
= 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "item", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22078 if (arg2
== NULL
) {
22079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= result
;
22095 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22098 wxTreeItemId
*arg2
= 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "item", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22109 if (arg2
== NULL
) {
22110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 wxColour
* resultptr
;
22121 resultptr
= new wxColour((wxColour
&) result
);
22122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22130 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22133 wxTreeItemId
*arg2
= 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "item", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22144 if (arg2
== NULL
) {
22145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 wxColour
* resultptr
;
22156 resultptr
= new wxColour((wxColour
&) result
);
22157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22165 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22168 wxTreeItemId
*arg2
= 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "item", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 if (arg2
== NULL
) {
22180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 wxFont
* resultptr
;
22191 resultptr
= new wxFont((wxFont
&) result
);
22192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
22200 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22203 wxTreeItemId
*arg2
= 0 ;
22204 wxString
*arg3
= 0 ;
22205 bool temp3
= False
;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 PyObject
* obj2
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "item",(char *) "text", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22216 if (arg2
== NULL
) {
22217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22220 arg3
= wxString_in_helper(obj2
);
22221 if (arg3
== NULL
) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22249 wxTreeItemId
*arg2
= 0 ;
22251 int arg4
= (int) wxTreeItemIcon_Normal
;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22261 if (arg2
== NULL
) {
22262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 Py_INCREF(Py_None
); resultobj
= Py_None
;
22278 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22281 wxTreeItemId
*arg2
= 0 ;
22282 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 PyObject
* obj1
= 0 ;
22285 PyObject
* obj2
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self",(char *) "item",(char *) "data", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22293 if (arg2
== NULL
) {
22294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22296 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22314 wxTreeItemId
*arg2
= 0 ;
22315 PyObject
*arg3
= (PyObject
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 PyObject
* obj2
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "item",(char *) "obj", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22326 if (arg2
== NULL
) {
22327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22344 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22347 wxTreeItemId
*arg2
= 0 ;
22348 bool arg3
= (bool) True
;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 PyObject
* obj2
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "item",(char *) "has", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22359 if (arg2
== NULL
) {
22360 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22364 arg3
= (bool) SPyObj_AsBool(obj2
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 Py_INCREF(Py_None
); resultobj
= Py_None
;
22382 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22385 wxTreeItemId
*arg2
= 0 ;
22386 bool arg3
= (bool) True
;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 PyObject
* obj2
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self",(char *) "item",(char *) "bold", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22397 if (arg2
== NULL
) {
22398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22402 arg3
= (bool) SPyObj_AsBool(obj2
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22423 wxTreeItemId
*arg2
= 0 ;
22424 bool arg3
= (bool) True
;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self",(char *) "item",(char *) "highlight", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22435 if (arg2
== NULL
) {
22436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22440 arg3
= (bool) SPyObj_AsBool(obj2
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22458 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22461 wxTreeItemId
*arg2
= 0 ;
22462 wxColour
*arg3
= 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 PyObject
* obj2
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "item",(char *) "col", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22474 if (arg2
== NULL
) {
22475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22479 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22498 wxTreeItemId
*arg2
= 0 ;
22499 wxColour
*arg3
= 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self",(char *) "item",(char *) "col", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22511 if (arg2
== NULL
) {
22512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22516 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 Py_INCREF(Py_None
); resultobj
= Py_None
;
22532 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22535 wxTreeItemId
*arg2
= 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 PyObject
* obj2
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "item",(char *) "font", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22547 if (arg2
== NULL
) {
22548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22550 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 if (arg3
== NULL
) {
22552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 Py_INCREF(Py_None
); resultobj
= Py_None
;
22568 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22571 wxTreeItemId
*arg2
= 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self",(char *) "item", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22582 if (arg2
== NULL
) {
22583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= PyInt_FromLong((long)result
);
22599 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22602 wxTreeItemId
*arg2
= 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self",(char *) "item", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22613 if (arg2
== NULL
) {
22614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= PyInt_FromLong((long)result
);
22630 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22633 wxTreeItemId
*arg2
= 0 ;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "item", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22644 if (arg2
== NULL
) {
22645 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= PyInt_FromLong((long)result
);
22661 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22664 wxTreeItemId
*arg2
= 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "item", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22675 if (arg2
== NULL
) {
22676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= PyInt_FromLong((long)result
);
22692 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22695 wxTreeItemId
*arg2
= 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "item", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22706 if (arg2
== NULL
) {
22707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= PyInt_FromLong((long)result
);
22723 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22726 wxTreeItemId
*arg2
= 0 ;
22727 bool arg3
= (bool) True
;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj2
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "item",(char *) "recursively", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22739 if (arg2
== NULL
) {
22740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22744 arg3
= (bool) SPyObj_AsBool(obj2
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
22762 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22765 wxTreeItemId result
;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 wxTreeItemId
* resultptr
;
22782 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22791 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22794 wxTreeItemId result
;
22795 PyObject
* obj0
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 wxTreeItemId
* resultptr
;
22811 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22812 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22820 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= result
;
22845 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22848 wxTreeItemId
*arg2
= 0 ;
22849 wxTreeItemId result
;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "item", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22859 if (arg2
== NULL
) {
22860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 wxTreeItemId
* resultptr
;
22871 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22872 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22880 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22883 wxTreeItemId
*arg2
= 0 ;
22885 PyObject
* obj0
= 0 ;
22886 PyObject
* obj1
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self",(char *) "item", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22894 if (arg2
== NULL
) {
22895 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= result
;
22911 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22914 wxTreeItemId
*arg2
= 0 ;
22915 wxTreeItemIdValue
*arg3
= 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 PyObject
* obj2
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "item",(char *) "cookie", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22927 if (arg2
== NULL
) {
22928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 if (arg3
== NULL
) {
22932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= result
;
22948 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22951 wxTreeItemId
*arg2
= 0 ;
22952 wxTreeItemId result
;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "item", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22962 if (arg2
== NULL
) {
22963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 wxTreeItemId
* resultptr
;
22974 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22975 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22983 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22986 wxTreeItemId
*arg2
= 0 ;
22987 wxTreeItemId result
;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "item", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 if (arg2
== NULL
) {
22998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 wxTreeItemId
* resultptr
;
23009 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23010 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23018 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23021 wxTreeItemId
*arg2
= 0 ;
23022 wxTreeItemId result
;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "item", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23032 if (arg2
== NULL
) {
23033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 wxTreeItemId
* resultptr
;
23044 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23045 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23053 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23056 wxTreeItemId result
;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 wxTreeItemId
* resultptr
;
23073 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23074 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23082 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23085 wxTreeItemId
*arg2
= 0 ;
23086 wxTreeItemId result
;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self",(char *) "item", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23096 if (arg2
== NULL
) {
23097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 wxTreeItemId
* resultptr
;
23108 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23117 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23120 wxTreeItemId
*arg2
= 0 ;
23121 wxTreeItemId result
;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "item", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23131 if (arg2
== NULL
) {
23132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 wxTreeItemId
* resultptr
;
23143 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23152 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23155 wxString
*arg2
= 0 ;
23156 int arg3
= (int) -1 ;
23157 int arg4
= (int) -1 ;
23158 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
23159 wxTreeItemId result
;
23160 bool temp2
= False
;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 PyObject
* obj4
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23171 arg2
= wxString_in_helper(obj1
);
23172 if (arg2
== NULL
) SWIG_fail
;
23176 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 wxTreeItemId
* resultptr
;
23187 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23204 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23207 wxTreeItemId
*arg2
= 0 ;
23208 wxString
*arg3
= 0 ;
23209 int arg4
= (int) -1 ;
23210 int arg5
= (int) -1 ;
23211 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23212 wxTreeItemId result
;
23213 bool temp3
= False
;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 PyObject
* obj2
= 0 ;
23217 PyObject
* obj5
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23225 if (arg2
== NULL
) {
23226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23229 arg3
= wxString_in_helper(obj2
);
23230 if (arg3
== NULL
) SWIG_fail
;
23234 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23244 wxTreeItemId
* resultptr
;
23245 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23246 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23262 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23265 wxTreeItemId
*arg2
= 0 ;
23266 wxTreeItemId
*arg3
= 0 ;
23267 wxString
*arg4
= 0 ;
23268 int arg5
= (int) -1 ;
23269 int arg6
= (int) -1 ;
23270 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23271 wxTreeItemId result
;
23272 bool temp4
= False
;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 PyObject
* obj2
= 0 ;
23276 PyObject
* obj3
= 0 ;
23277 PyObject
* obj6
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23285 if (arg2
== NULL
) {
23286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23288 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 if (arg3
== NULL
) {
23290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23293 arg4
= wxString_in_helper(obj3
);
23294 if (arg4
== NULL
) SWIG_fail
;
23298 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 wxTreeItemId
* resultptr
;
23309 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23326 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23329 wxTreeItemId
*arg2
= 0 ;
23331 wxString
*arg4
= 0 ;
23332 int arg5
= (int) -1 ;
23333 int arg6
= (int) -1 ;
23334 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23335 wxTreeItemId result
;
23336 bool temp4
= False
;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 PyObject
* obj2
= 0 ;
23340 PyObject
* obj3
= 0 ;
23341 PyObject
* obj6
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23349 if (arg2
== NULL
) {
23350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23353 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23357 arg4
= wxString_in_helper(obj3
);
23358 if (arg4
== NULL
) SWIG_fail
;
23362 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 wxTreeItemId
* resultptr
;
23373 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23390 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23393 wxTreeItemId
*arg2
= 0 ;
23394 wxString
*arg3
= 0 ;
23395 int arg4
= (int) -1 ;
23396 int arg5
= (int) -1 ;
23397 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23398 wxTreeItemId result
;
23399 bool temp3
= False
;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 PyObject
* obj2
= 0 ;
23403 PyObject
* obj5
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23411 if (arg2
== NULL
) {
23412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23415 arg3
= wxString_in_helper(obj2
);
23416 if (arg3
== NULL
) SWIG_fail
;
23420 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 wxTreeItemId
* resultptr
;
23431 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23432 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23448 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23451 wxTreeItemId
*arg2
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "item", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23461 if (arg2
== NULL
) {
23462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23481 wxTreeItemId
*arg2
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "item", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23491 if (arg2
== NULL
) {
23492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 (arg1
)->DeleteAllItems();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 Py_INCREF(Py_None
); resultobj
= Py_None
;
23532 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23535 wxTreeItemId
*arg2
= 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "item", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23545 if (arg2
== NULL
) {
23546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23565 wxTreeItemId
*arg2
= 0 ;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "item", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23575 if (arg2
== NULL
) {
23576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 Py_INCREF(Py_None
); resultobj
= Py_None
;
23592 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23595 wxTreeItemId
*arg2
= 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "item", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23605 if (arg2
== NULL
) {
23606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23625 wxTreeItemId
*arg2
= 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "item", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23635 if (arg2
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->Unselect();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 Py_INCREF(Py_None
); resultobj
= Py_None
;
23676 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 (arg1
)->UnselectAll();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 Py_INCREF(Py_None
); resultobj
= Py_None
;
23700 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23703 wxTreeItemId
*arg2
= 0 ;
23704 PyObject
* obj0
= 0 ;
23705 PyObject
* obj1
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self",(char *) "item", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23713 if (arg2
== NULL
) {
23714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23733 wxTreeItemId
*arg2
= 0 ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 char *kwnames
[] = {
23737 (char *) "self",(char *) "item", NULL
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23743 if (arg2
== NULL
) {
23744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 Py_INCREF(Py_None
); resultobj
= Py_None
;
23760 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23763 wxTreeItemId
*arg2
= 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "item", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23773 if (arg2
== NULL
) {
23774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 Py_INCREF(Py_None
); resultobj
= Py_None
;
23790 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23793 wxTreeItemId
*arg2
= 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "item", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23803 if (arg2
== NULL
) {
23804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23823 wxTextCtrl
*result
;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= wxPyMake_wxObject(result
);
23847 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23850 wxTreeItemId
*arg2
= 0 ;
23851 bool arg3
= (bool) False
;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 PyObject
* obj2
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23862 if (arg2
== NULL
) {
23863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23867 arg3
= (bool) SPyObj_AsBool(obj2
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 Py_INCREF(Py_None
); resultobj
= Py_None
;
23885 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23888 wxTreeItemId
*arg2
= 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self",(char *) "item", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23898 if (arg2
== NULL
) {
23899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 Py_INCREF(Py_None
); resultobj
= Py_None
;
23915 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23918 wxPoint
*arg2
= 0 ;
23920 wxTreeItemId result
;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self",(char *) "point", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 wxTreeItemId
* resultptr
;
23945 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23946 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23949 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23950 resultobj
= t_output_helper(resultobj
,o
);
23958 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23961 wxTreeItemId
*arg2
= 0 ;
23962 bool arg3
= (bool) False
;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 PyObject
* obj2
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23974 if (arg2
== NULL
) {
23975 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23979 arg3
= (bool) SPyObj_AsBool(obj2
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= result
;
23997 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
24002 return Py_BuildValue((char *)"");
24004 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
24005 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
24010 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
24015 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
24017 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
24024 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxWindow
*arg1
= (wxWindow
*) 0 ;
24027 int arg2
= (int) (int)-1 ;
24028 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
24029 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24034 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
24035 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24037 int arg8
= (int) 0 ;
24038 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
24039 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24040 wxGenericDirCtrl
*result
;
24041 bool temp3
= False
;
24044 bool temp7
= False
;
24045 bool temp9
= False
;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 PyObject
* obj3
= 0 ;
24049 PyObject
* obj4
= 0 ;
24050 PyObject
* obj6
= 0 ;
24051 PyObject
* obj8
= 0 ;
24052 char *kwnames
[] = {
24053 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
24057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24060 arg3
= wxString_in_helper(obj2
);
24061 if (arg3
== NULL
) SWIG_fail
;
24068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24079 arg7
= wxString_in_helper(obj6
);
24080 if (arg7
== NULL
) SWIG_fail
;
24086 arg9
= wxString_in_helper(obj8
);
24087 if (arg9
== NULL
) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
24129 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxGenericDirCtrl
*result
;
24132 char *kwnames
[] = {
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
24151 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24154 wxWindow
*arg2
= (wxWindow
*) 0 ;
24155 int arg3
= (int) (int)-1 ;
24156 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
24157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
24159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
24160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
24161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
24162 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
24163 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24164 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24165 int arg9
= (int) 0 ;
24166 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
24167 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
24169 bool temp4
= False
;
24172 bool temp8
= False
;
24173 bool temp10
= False
;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 PyObject
* obj3
= 0 ;
24177 PyObject
* obj4
= 0 ;
24178 PyObject
* obj5
= 0 ;
24179 PyObject
* obj7
= 0 ;
24180 PyObject
* obj9
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24190 arg4
= wxString_in_helper(obj3
);
24191 if (arg4
== NULL
) SWIG_fail
;
24198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
24204 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
24209 arg8
= wxString_in_helper(obj7
);
24210 if (arg8
== NULL
) SWIG_fail
;
24216 arg10
= wxString_in_helper(obj9
);
24217 if (arg10
== NULL
) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= PyInt_FromLong((long)result
);
24259 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24262 wxString
*arg2
= 0 ;
24264 bool temp2
= False
;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self",(char *) "path", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 arg2
= wxString_in_helper(obj1
);
24275 if (arg2
== NULL
) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= PyInt_FromLong((long)result
);
24300 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24331 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24334 wxString
*arg2
= 0 ;
24335 bool temp2
= False
;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self",(char *) "path", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24345 arg2
= wxString_in_helper(obj1
);
24346 if (arg2
== NULL
) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24371 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24402 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24433 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24436 wxString
*arg2
= 0 ;
24437 bool temp2
= False
;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "path", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24447 arg2
= wxString_in_helper(obj1
);
24448 if (arg2
== NULL
) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 (arg1
)->SetPath((wxString
const &)*arg2
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 Py_INCREF(Py_None
); resultobj
= Py_None
;
24473 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "show", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24486 arg2
= (bool) SPyObj_AsBool(obj1
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->ShowHidden(arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 Py_INCREF(Py_None
); resultobj
= Py_None
;
24503 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (bool)(arg1
)->GetShowHidden();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= PyInt_FromLong((long)result
);
24528 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24559 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24562 wxString
*arg2
= 0 ;
24563 bool temp2
= False
;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "filter", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24573 arg2
= wxString_in_helper(obj1
);
24574 if (arg2
== NULL
) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->SetFilter((wxString
const &)*arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 Py_INCREF(Py_None
); resultobj
= Py_None
;
24599 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= PyInt_FromLong((long)result
);
24624 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self",(char *) "n", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->SetFilterIndex(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24652 wxTreeItemId result
;
24653 PyObject
* obj0
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (arg1
)->GetRootId();
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24668 wxTreeItemId
* resultptr
;
24669 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24678 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24681 wxPyTreeCtrl
*result
;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= wxPyMake_wxObject(result
);
24705 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24708 wxDirFilterListCtrl
*result
;
24709 PyObject
* obj0
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24730 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24733 wxTreeItemId arg2
;
24734 wxString
*arg3
= 0 ;
24736 wxTreeItemId result
;
24737 wxTreeItemId
*argp2
;
24738 bool temp3
= False
;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 PyObject
* obj2
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "parentId",(char *) "path", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24750 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24753 arg3
= wxString_in_helper(obj2
);
24754 if (arg3
== NULL
) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 wxTreeItemId
* resultptr
;
24766 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24770 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24771 resultobj
= t_output_helper(resultobj
,o
);
24787 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 (arg1
)->DoResize();
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 Py_INCREF(Py_None
); resultobj
= Py_None
;
24811 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 (arg1
)->ReCreateTree();
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 Py_INCREF(Py_None
); resultobj
= Py_None
;
24835 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24838 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24840 return Py_BuildValue((char *)"");
24842 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24845 int arg2
= (int) (int)-1 ;
24846 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24847 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24850 long arg5
= (long) 0 ;
24851 wxDirFilterListCtrl
*result
;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj2
= 0 ;
24856 PyObject
* obj3
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24889 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxDirFilterListCtrl
*result
;
24892 char *kwnames
[] = {
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24911 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24914 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24915 int arg3
= (int) (int)-1 ;
24916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24920 long arg6
= (long) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 PyObject
* obj3
= 0 ;
24927 PyObject
* obj4
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= PyInt_FromLong((long)result
);
24961 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24964 wxString
*arg2
= 0 ;
24966 bool temp2
= False
;
24967 PyObject
* obj0
= 0 ;
24968 PyObject
* obj1
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24976 arg2
= wxString_in_helper(obj1
);
24977 if (arg2
== NULL
) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
25004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
25007 return Py_BuildValue((char *)"");
25009 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxWindow
*arg1
= (wxWindow
*) 0 ;
25013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25017 long arg5
= (long) 0 ;
25018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25020 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
25021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25022 wxPyControl
*result
;
25025 bool temp7
= False
;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj2
= 0 ;
25028 PyObject
* obj3
= 0 ;
25029 PyObject
* obj5
= 0 ;
25030 PyObject
* obj6
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
25036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25050 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25051 if (arg6
== NULL
) {
25052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25057 arg7
= wxString_in_helper(obj6
);
25058 if (arg7
== NULL
) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
25084 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25087 PyObject
*arg2
= (PyObject
*) 0 ;
25088 PyObject
*arg3
= (PyObject
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 PyObject
* obj2
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "self",(char *) "_class", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25149 int arg6
= (int) wxSIZE_AUTO
;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 Py_INCREF(Py_None
); resultobj
= Py_None
;
25171 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25176 PyObject
* obj0
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "width",(char *) "height", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "x",(char *) "y", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 Py_INCREF(Py_None
); resultobj
= Py_None
;
25223 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25226 int *arg2
= (int *) 0 ;
25227 int *arg3
= (int *) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "self", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25248 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25249 resultobj
= t_output_helper(resultobj
,o
);
25252 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25253 resultobj
= t_output_helper(resultobj
,o
);
25261 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25264 int *arg2
= (int *) 0 ;
25265 int *arg3
= (int *) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",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 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25287 resultobj
= t_output_helper(resultobj
,o
);
25290 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25291 resultobj
= t_output_helper(resultobj
,o
);
25299 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25302 int *arg2
= (int *) 0 ;
25303 int *arg3
= (int *) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25324 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25325 resultobj
= t_output_helper(resultobj
,o
);
25328 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25329 resultobj
= t_output_helper(resultobj
,o
);
25337 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 wxSize
* resultptr
;
25357 resultptr
= new wxSize((wxSize
&) result
);
25358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25366 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25385 wxSize
* resultptr
;
25386 resultptr
= new wxSize((wxSize
&) result
);
25387 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25395 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 (arg1
)->base_InitDialog();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 Py_INCREF(Py_None
); resultobj
= Py_None
;
25419 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (bool)(arg1
)->base_TransferDataToWindow();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= PyInt_FromLong((long)result
);
25444 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25448 PyObject
* obj0
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= PyInt_FromLong((long)result
);
25469 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (bool)(arg1
)->base_Validate();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= PyInt_FromLong((long)result
);
25494 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= PyInt_FromLong((long)result
);
25519 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= PyInt_FromLong((long)result
);
25544 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 wxSize
* resultptr
;
25564 resultptr
= new wxSize((wxSize
&) result
);
25565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25573 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25576 wxWindow
*arg2
= (wxWindow
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self",(char *) "child", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->base_AddChild(arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 Py_INCREF(Py_None
); resultobj
= Py_None
;
25600 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25603 wxWindow
*arg2
= (wxWindow
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 PyObject
* obj1
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "child", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 (arg1
)->base_RemoveChild(arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 Py_INCREF(Py_None
); resultobj
= Py_None
;
25627 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25630 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25632 return Py_BuildValue((char *)"");
25634 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25637 int arg2
= (int) 0 ;
25638 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25639 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25640 wxHelpEvent
*result
;
25642 PyObject
* obj2
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "type",(char *) "winid",(char *) "pt", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25668 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25683 result
= (wxPoint
*) &_result_ref
;
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25696 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25699 wxPoint
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "pos", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25731 PyObject
* obj0
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25742 result
= (wxString
*) &_result_ref
;
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25752 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25761 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25764 wxString
*arg2
= 0 ;
25765 bool temp2
= False
;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "link", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25775 arg2
= wxString_in_helper(obj1
);
25776 if (arg2
== NULL
) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 (arg1
)->SetLink((wxString
const &)*arg2
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 Py_INCREF(Py_None
); resultobj
= Py_None
;
25801 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25816 result
= (wxString
*) &_result_ref
;
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25826 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25835 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25838 wxString
*arg2
= 0 ;
25839 bool temp2
= False
;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "target", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25849 arg2
= wxString_in_helper(obj1
);
25850 if (arg2
== NULL
) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->SetTarget((wxString
const &)*arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 Py_INCREF(Py_None
); resultobj
= Py_None
;
25875 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25878 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25880 return Py_BuildValue((char *)"");
25882 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxWindow
*arg1
= (wxWindow
*) NULL
;
25885 bool arg2
= (bool) True
;
25886 wxContextHelp
*result
;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "window",(char *) "doNow", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25899 arg2
= (bool) SPyObj_AsBool(obj1
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25917 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25920 PyObject
* obj0
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25944 wxWindow
*arg2
= (wxWindow
*) NULL
;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "window", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= PyInt_FromLong((long)result
);
25971 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)(arg1
)->EndContextHelp();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= PyInt_FromLong((long)result
);
25996 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25999 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
26001 return Py_BuildValue((char *)"");
26003 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxWindow
*arg1
= (wxWindow
*) 0 ;
26006 int arg2
= (int) wxID_CONTEXT_HELP
;
26007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26011 long arg5
= (long) wxBU_AUTODRAW
;
26012 wxContextHelpButton
*result
;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj2
= 0 ;
26017 PyObject
* obj3
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
26023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26033 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
26050 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
26052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26053 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
26055 return Py_BuildValue((char *)"");
26057 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26060 wxHelpProvider
*result
;
26061 PyObject
* obj0
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "helpProvider", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
26067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
26082 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxHelpProvider
*result
;
26085 char *kwnames
[] = {
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (wxHelpProvider
*)wxHelpProvider::Get();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
26104 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26107 wxWindow
*arg2
= (wxWindow
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "window", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26138 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26141 wxWindow
*arg2
= (wxWindow
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self",(char *) "window", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
26150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (bool)(arg1
)->ShowHelp(arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= PyInt_FromLong((long)result
);
26166 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26169 wxWindow
*arg2
= (wxWindow
*) 0 ;
26170 wxString
*arg3
= 0 ;
26171 bool temp3
= False
;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 PyObject
* obj2
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "window",(char *) "text", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26183 arg3
= wxString_in_helper(obj2
);
26184 if (arg3
== NULL
) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26213 wxString
*arg3
= 0 ;
26214 bool temp3
= False
;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj2
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self",(char *) "id",(char *) "text", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26224 arg3
= wxString_in_helper(obj2
);
26225 if (arg3
== NULL
) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
26259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 wxHelpProvider_Destroy(arg1
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26274 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26277 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
26279 return Py_BuildValue((char *)"");
26281 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxSimpleHelpProvider
*result
;
26284 char *kwnames
[] = {
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
26303 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26306 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
26308 return Py_BuildValue((char *)"");
26310 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxBitmap
*arg1
= 0 ;
26313 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26314 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26315 wxGenericDragImage
*result
;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "image",(char *) "cursor", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26324 if (arg1
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26329 if (arg2
== NULL
) {
26330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26347 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26350 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26351 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26352 wxGenericDragImage
*result
;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "image",(char *) "cursor", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26361 if (arg1
== NULL
) {
26362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26366 if (arg2
== NULL
) {
26367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26384 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxString
*arg1
= 0 ;
26387 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26388 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26389 wxGenericDragImage
*result
;
26390 bool temp1
= False
;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "str",(char *) "cursor", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26399 arg1
= wxString_in_helper(obj0
);
26400 if (arg1
== NULL
) SWIG_fail
;
26404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26405 if (arg2
== NULL
) {
26406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26431 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= 0 ;
26434 wxTreeItemId
*arg2
= 0 ;
26435 wxGenericDragImage
*result
;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "treeCtrl",(char *) "id", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26444 if (arg1
== NULL
) {
26445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26448 if (arg2
== NULL
) {
26449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26465 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyListCtrl
*arg1
= 0 ;
26469 wxGenericDragImage
*result
;
26470 PyObject
* obj0
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "listCtrl",(char *) "id", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26477 if (arg1
== NULL
) {
26478 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26494 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26521 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "bitmap", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 (arg1
)->SetBackingBitmap(arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 Py_INCREF(Py_None
); resultobj
= Py_None
;
26545 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26548 wxPoint
*arg2
= 0 ;
26549 wxWindow
*arg3
= (wxWindow
*) 0 ;
26550 bool arg4
= (bool) False
;
26551 wxRect
*arg5
= (wxRect
*) NULL
;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 PyObject
* obj2
= 0 ;
26557 PyObject
* obj3
= 0 ;
26558 PyObject
* obj4
= 0 ;
26559 char *kwnames
[] = {
26560 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26569 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26572 arg4
= (bool) SPyObj_AsBool(obj3
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= PyInt_FromLong((long)result
);
26593 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26596 wxPoint
*arg2
= 0 ;
26597 wxWindow
*arg3
= (wxWindow
*) 0 ;
26598 wxWindow
*arg4
= (wxWindow
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 PyObject
* obj2
= 0 ;
26604 PyObject
* obj3
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26616 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= PyInt_FromLong((long)result
);
26631 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (bool)(arg1
)->EndDrag();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= PyInt_FromLong((long)result
);
26656 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26659 wxPoint
*arg2
= 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self",(char *) "pt", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= PyInt_FromLong((long)result
);
26688 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (bool)(arg1
)->Show();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= PyInt_FromLong((long)result
);
26713 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (bool)(arg1
)->Hide();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= PyInt_FromLong((long)result
);
26738 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26741 wxPoint
*arg2
= 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "pos", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 wxRect
* resultptr
;
26765 resultptr
= new wxRect((wxRect
&) result
);
26766 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26774 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
;
26776 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26778 wxPoint
*arg3
= 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 PyObject
* obj2
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "dc",(char *) "pos", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26791 if (arg2
== NULL
) {
26792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= PyInt_FromLong((long)result
);
26812 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26816 wxMemoryDC
*arg3
= 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 PyObject
* obj2
= 0 ;
26825 PyObject
* obj3
= 0 ;
26826 PyObject
* obj4
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26834 if (arg2
== NULL
) {
26835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26837 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26838 if (arg3
== NULL
) {
26839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26843 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26847 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= PyInt_FromLong((long)result
);
26863 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26866 wxPoint
*arg2
= 0 ;
26867 wxPoint
*arg3
= 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 PyObject
* obj2
= 0 ;
26876 PyObject
* obj3
= 0 ;
26877 PyObject
* obj4
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26893 arg4
= (bool) SPyObj_AsBool(obj3
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 arg5
= (bool) SPyObj_AsBool(obj4
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= PyInt_FromLong((long)result
);
26914 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26917 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26919 return Py_BuildValue((char *)"");
26921 static PyMethodDef SwigMethods
[] = {
26922 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26930 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26945 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26956 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26965 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26983 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26996 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
27000 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
27006 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
27010 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
27017 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
27036 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
27045 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
27046 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
27074 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
27129 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
27134 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
27145 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
27157 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
27168 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
27172 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
27189 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
27195 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
27220 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
27227 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
27247 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
27253 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
27263 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
27265 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
27270 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
27272 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
27277 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
27282 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
27312 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
27357 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
27362 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27374 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27426 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27453 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27470 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27471 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27472 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27473 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27474 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27475 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27476 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27477 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27478 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27479 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27480 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27481 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27482 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27483 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27484 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27485 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27486 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27487 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27488 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27489 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27490 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27491 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27492 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27493 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27494 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27495 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27496 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27497 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27498 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27499 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27500 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27501 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27502 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27503 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27504 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27505 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27506 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27507 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27508 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27509 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27510 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27511 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27512 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27513 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27514 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27515 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27516 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27517 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27518 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27519 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27520 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27521 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27522 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27523 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27524 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27525 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27526 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27527 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27528 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27529 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27530 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27531 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27532 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27533 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27534 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27535 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27536 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27537 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27538 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27539 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27540 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27541 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27542 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27543 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27544 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27545 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27546 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27547 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27548 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27549 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27550 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27551 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27552 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27553 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27554 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27555 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27556 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27557 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27558 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27559 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27560 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27561 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27562 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27563 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27564 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27565 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27566 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27567 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27568 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27569 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27570 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27571 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27572 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27573 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27574 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27575 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27576 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27577 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27578 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27579 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27580 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27581 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27582 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27583 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27584 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27585 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27586 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27587 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27588 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27589 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27590 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27591 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27592 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27593 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27594 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27595 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27596 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27597 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27598 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27599 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27600 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27601 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27602 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27603 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27604 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27605 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27606 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27607 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27608 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27609 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27610 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27611 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27612 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27613 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27614 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27615 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27616 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27617 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27618 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27619 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27620 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27621 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27622 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27623 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27624 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27625 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27626 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27627 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27628 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27629 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27630 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27631 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27632 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27633 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27634 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27635 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27636 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27637 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27638 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27639 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27640 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27641 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27642 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27643 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27644 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27645 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27646 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27647 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27648 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27649 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27650 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27651 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27652 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27653 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27654 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27655 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27656 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27657 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27658 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27659 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27660 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27661 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27662 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27663 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27664 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27665 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27666 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27667 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27668 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27669 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27670 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27671 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27672 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27673 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27674 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27675 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27676 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27677 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27678 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27679 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27680 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27681 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27682 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27683 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27684 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27685 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27686 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27687 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27688 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27689 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27690 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27691 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27692 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27693 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27694 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27695 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27696 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27697 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27698 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27699 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27700 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27701 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27702 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27703 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27704 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27705 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27706 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27707 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27708 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27709 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27710 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27711 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27712 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27713 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27714 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27715 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27716 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27717 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27718 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27719 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27720 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27721 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27722 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27723 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27724 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27725 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27726 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27727 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27728 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27729 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27730 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27737 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27738 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27740 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27741 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27743 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27744 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27746 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27747 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27749 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27750 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27752 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27753 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27755 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27756 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27758 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27759 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27761 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27762 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27764 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27765 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27767 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27768 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27770 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27771 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27773 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27774 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27776 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27777 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27779 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27780 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27782 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27783 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27785 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27786 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27788 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27789 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27791 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27794 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27797 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27798 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27800 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27801 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27803 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27806 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27807 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27809 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27810 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27812 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27813 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27815 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27818 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27819 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27821 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27824 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27825 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27827 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27828 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27830 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27831 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27833 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27834 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27836 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27837 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27839 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27840 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27842 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27843 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27845 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27846 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27848 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27851 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27852 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27854 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27855 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27857 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27858 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27860 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27861 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27863 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27864 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27866 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27867 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27869 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27872 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27873 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27875 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27876 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27878 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27881 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27884 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27885 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27887 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27888 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27890 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27891 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27893 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
27894 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27896 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27897 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27899 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27900 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27902 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27903 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27905 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27906 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27908 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27909 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27911 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27912 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27914 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27915 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27917 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27918 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27920 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27921 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27923 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27924 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27926 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27927 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27929 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27930 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27932 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27933 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27935 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27936 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27938 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27939 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27941 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27942 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27944 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27945 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27947 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27948 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27950 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27951 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27953 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27954 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27956 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27957 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27959 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27960 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27962 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27963 return (void *)((wxControl
*) ((wxGauge
*) x
));
27965 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27966 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27968 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27969 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27971 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27972 return (void *)((wxControl
*) ((wxButton
*) x
));
27974 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27975 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27977 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27978 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27980 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27981 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27983 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27984 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27986 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27987 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27989 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27990 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27992 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27993 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27995 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27996 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27998 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27999 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
28001 static void *_p_wxSliderTo_p_wxControl(void *x
) {
28002 return (void *)((wxControl
*) ((wxSlider
*) x
));
28004 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
28005 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
28007 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
28008 return (void *)((wxControl
*) ((wxPyControl
*) x
));
28010 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
28011 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
28013 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
28014 return (void *)((wxControl
*) ((wxStaticText
*) x
));
28016 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
28017 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
28019 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
28020 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
28022 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
28023 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28025 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
28026 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28028 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
28029 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28031 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
28032 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
28034 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
28035 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28037 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
28038 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28040 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
28041 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28043 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
28044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28046 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28047 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28049 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28050 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28052 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28053 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28055 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
28056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28058 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28059 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28061 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
28062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28064 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
28065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28067 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28068 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28070 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28071 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28073 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
28074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28076 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
28077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
28079 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
28080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28082 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
28083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28085 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
28086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
28088 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28089 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28091 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
28092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
28094 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
28095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28097 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28100 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
28101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28103 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
28104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
28106 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
28107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28109 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
28110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
28112 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
28113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
28115 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
28116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28118 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
28119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28121 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
28122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28124 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
28125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28127 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
28128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28130 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
28131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28133 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
28134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28136 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
28137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28139 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
28140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28142 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
28143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28145 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
28146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28148 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
28149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28151 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
28152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28154 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
28155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28157 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
28158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28160 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
28161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28163 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
28164 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
28166 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
28167 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
28169 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
28170 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
28172 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
28173 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
28175 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
28176 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28178 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
28179 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28181 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
28182 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
28184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28185 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28187 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28188 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28190 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28191 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28193 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28196 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28197 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28199 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
28200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28202 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
28203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28205 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28206 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28208 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28209 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28211 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28212 return (void *)((wxObject
*) ((wxSizer
*) x
));
28214 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28215 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28217 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
28218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
28220 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
28221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
28223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28226 static void *_p_wxEventTo_p_wxObject(void *x
) {
28227 return (void *)((wxObject
*) ((wxEvent
*) x
));
28229 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28230 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28232 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28233 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28235 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28236 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28238 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
28239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
28241 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
28242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
28244 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
28245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28247 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28248 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28250 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28251 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28253 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28254 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28256 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28257 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28259 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28260 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28262 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28263 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28265 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
28266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
28268 static void *_p_wxControlTo_p_wxObject(void *x
) {
28269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28271 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
28272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
28274 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
28275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28277 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
28278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28280 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
28281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28283 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
28284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28286 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28287 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28289 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
28290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28292 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28293 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28295 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28296 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28298 static void *_p_wxListViewTo_p_wxObject(void *x
) {
28299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28301 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
28302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28304 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
28305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28307 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28308 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28310 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28313 static void *_p_wxListbookTo_p_wxObject(void *x
) {
28314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28316 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28317 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28319 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
28320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28322 static void *_p_wxSliderTo_p_wxObject(void *x
) {
28323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28325 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28326 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28328 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28329 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28331 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28334 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28335 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28337 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28338 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28340 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28341 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28343 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28344 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28346 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28347 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28349 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28350 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28352 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
28353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28355 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
28356 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
28358 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28361 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28364 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28367 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28370 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28373 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28376 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28377 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28379 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28380 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28382 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28383 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28385 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28388 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28389 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28391 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28394 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28395 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28397 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28400 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28403 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28406 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28409 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28412 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28415 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28418 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28421 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28422 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28424 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28427 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28430 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28433 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28436 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28437 return (void *)((wxObject
*) ((wxListItem
*) x
));
28439 static void *_p_wxImageTo_p_wxObject(void *x
) {
28440 return (void *)((wxObject
*) ((wxImage
*) x
));
28442 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28443 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28445 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28446 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28448 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
28449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28451 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28452 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28454 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28457 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28460 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28463 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28466 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28467 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28469 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28470 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28472 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28475 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28476 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28478 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28481 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28482 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28484 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28487 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28488 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28490 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28491 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28493 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28494 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28496 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28497 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28499 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28500 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28502 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28505 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28508 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28509 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28511 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28514 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28515 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28517 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28518 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28520 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28523 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28526 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28527 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28529 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28532 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28535 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28536 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28538 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28539 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28541 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28542 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28544 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28545 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28547 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28548 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28550 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28551 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28553 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28554 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28556 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28557 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28559 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28560 return (void *)((wxWindow
*) ((wxControl
*) x
));
28562 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28563 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28565 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28566 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28568 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28569 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28571 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28572 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28574 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28575 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28577 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28578 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28580 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28581 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28583 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28584 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28586 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28587 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28589 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28590 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28592 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28593 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28595 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28596 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28598 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28599 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28601 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28602 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28604 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28605 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28607 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28608 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28610 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28611 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28613 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28614 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28616 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28617 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28619 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28620 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28622 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28623 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28625 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28626 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28628 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28629 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28631 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28632 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28634 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28635 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28637 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28638 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28640 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28641 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28643 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28644 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28647 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28649 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28650 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28652 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28653 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28655 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28656 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28659 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28661 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28662 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28665 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28667 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28668 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28670 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28671 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28673 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28674 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28676 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28677 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28679 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28680 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28682 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
28683 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28685 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28686 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28688 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28689 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28691 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28692 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28694 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
28695 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
28697 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28698 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28700 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28701 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28703 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28704 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28706 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28707 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28709 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28710 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28712 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28713 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}};
28714 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}};
28715 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28716 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28717 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28718 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28719 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}};
28720 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28721 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28722 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28723 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}};
28724 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28725 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28726 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28727 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}};
28728 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28729 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28730 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28731 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28732 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28733 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28734 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28735 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28736 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28737 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28738 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28739 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28740 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28741 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28742 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28743 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28744 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}};
28745 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28746 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28747 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28748 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28749 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28750 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28751 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28752 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28753 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}};
28754 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28755 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28756 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28757 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}};
28758 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28759 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}};
28760 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28761 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28762 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28763 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28764 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28765 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28766 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28767 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28768 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28769 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28770 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28771 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28772 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28773 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28774 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28775 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28776 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28777 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28778 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28779 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28780 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}};
28781 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28782 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28783 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}};
28784 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28785 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28786 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28787 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28788 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}};
28789 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28790 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_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}};
28791 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28792 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28793 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28794 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28795 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28797 static swig_type_info
*swig_types_initial
[] = {
28798 _swigt__p_wxTextUrlEvent
,
28799 _swigt__p_wxBookCtrlEvent
,
28801 _swigt__p_wxTreeItemIdValue
,
28802 _swigt__wxTreeItemIdValue
,
28803 _swigt__p_wxCheckBox
,
28804 _swigt__p_wxPyTreeCtrl
,
28806 _swigt__p_wxGenericDirCtrl
,
28808 _swigt__p_wxPyTreeItemData
,
28809 _swigt__p_wxItemContainer
,
28810 _swigt__p_wxDirFilterListCtrl
,
28811 _swigt__p_wxPyListCtrl
,
28812 _swigt__p_wxStaticLine
,
28813 _swigt__p_wxControl
,
28814 _swigt__p_wxPyControl
,
28816 _swigt__p_wxToolBarBase
,
28818 _swigt__p_wxToggleButton
,
28819 _swigt__p_wxRadioButton
,
28820 _swigt__p_wxChoice
,
28821 _swigt__p_wxMemoryDC
,
28822 _swigt__p_wxListItemAttr
,
28826 _swigt__p_wxListView
,
28828 _swigt__p_wxTextCtrl
,
28829 _swigt__p_wxNotebook
,
28830 _swigt__p_wxNotifyEvent
,
28831 _swigt__p_wxArrayString
,
28832 _swigt__p_wxListbook
,
28833 _swigt__p_wxStaticBitmap
,
28834 _swigt__p_wxSlider
,
28835 _swigt__p_wxStaticBox
,
28836 _swigt__p_wxArrayInt
,
28837 _swigt__p_wxContextHelp
,
28839 _swigt__p_wxEvtHandler
,
28840 _swigt__p_wxListEvent
,
28841 _swigt__p_wxListBox
,
28842 _swigt__p_wxCheckListBox
,
28843 _swigt__p_wxBookCtrl
,
28844 _swigt__p_wxSpinButton
,
28845 _swigt__p_wxButton
,
28846 _swigt__p_wxBitmapButton
,
28848 _swigt__p_wxContextHelpButton
,
28849 _swigt__p_wxRadioBox
,
28850 _swigt__p_wxScrollBar
,
28851 _swigt__p_wxTreeItemId
,
28852 _swigt__p_wxComboBox
,
28853 _swigt__p_wxHelpEvent
,
28854 _swigt__p_wxListItem
,
28855 _swigt__p_wxNotebookSizer
,
28856 _swigt__p_wxSpinEvent
,
28857 _swigt__p_wxGenericDragImage
,
28858 _swigt__p_wxSpinCtrl
,
28859 _swigt__p_wxImageList
,
28860 _swigt__p_wxHelpProvider
,
28861 _swigt__p_wxTextAttr
,
28862 _swigt__p_wxSimpleHelpProvider
,
28864 _swigt__p_wxListbookEvent
,
28865 _swigt__p_wxNotebookEvent
,
28866 _swigt__p_wxObject
,
28867 _swigt__p_wxCursor
,
28868 _swigt__p_wxKeyEvent
,
28869 _swigt__p_wxWindow
,
28870 _swigt__p_wxString
,
28871 _swigt__p_wxBitmap
,
28872 _swigt__p_wxTreeEvent
,
28873 _swigt__p_wxMouseEvent
,
28874 _swigt__p_wxCommandEvent
,
28875 _swigt__p_wxStaticText
,
28876 _swigt__p_wxControlWithItems
,
28877 _swigt__p_wxToolBarToolBase
,
28878 _swigt__p_wxColour
,
28879 _swigt__p_wxToolBar
,
28880 _swigt__p_wxBookCtrlSizer
,
28881 _swigt__p_wxValidator
,
28886 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28888 static swig_const_info swig_const_table
[] = {
28889 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28890 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28891 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28892 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28893 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28894 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28895 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28896 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28897 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28898 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28899 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28900 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28901 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28902 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28903 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28904 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28905 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28906 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28907 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28908 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28909 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28910 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28911 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28912 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28913 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28914 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28915 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28916 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28917 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28918 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28919 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28920 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28921 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28922 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28923 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28924 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28925 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28926 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28927 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28928 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28929 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28930 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28931 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28932 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28933 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28934 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28935 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28936 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28937 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28938 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28939 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28940 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28941 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28942 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28943 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28944 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28945 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28946 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28947 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28948 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28949 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28950 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28951 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28952 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28953 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28954 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28955 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28956 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28957 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28958 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28959 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28960 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28961 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28962 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28963 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28964 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28965 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28966 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28967 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28968 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28969 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28970 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28971 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28972 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28973 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28974 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28975 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28976 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28977 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28978 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28979 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28980 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28981 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28982 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28983 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28984 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28985 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28986 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28987 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28988 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28989 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28990 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28991 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28992 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28993 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28994 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28995 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28996 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28997 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28998 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28999 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
29000 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
29001 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
29002 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
29003 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
29004 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
29005 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
29006 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
29007 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
29008 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
29009 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
29010 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
29011 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
29012 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
29013 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
29014 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
29015 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
29016 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
29017 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
29018 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
29019 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
29020 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
29021 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
29022 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
29023 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
29024 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
29025 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
29026 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
29027 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
29028 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
29029 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
29030 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
29031 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
29032 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
29033 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
29034 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
29035 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
29036 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
29037 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
29038 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
29039 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
29040 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
29041 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
29042 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
29043 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
29044 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
29045 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
29046 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
29047 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
29048 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
29049 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
29050 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
29051 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
29052 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
29053 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
29054 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
29055 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
29056 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
29057 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
29058 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
29059 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
29060 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
29061 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
29062 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
29063 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
29064 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
29065 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
29066 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
29067 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
29068 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
29069 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
29070 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
29071 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
29072 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
29073 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
29074 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
29075 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
29076 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
29077 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
29078 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
29079 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
29080 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
29081 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
29082 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
29083 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
29084 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
29085 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
29086 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
29087 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
29088 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
29089 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
29090 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
29091 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
29092 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
29093 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
29094 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
29095 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
29096 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
29097 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
29098 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
29099 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
29100 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
29101 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
29102 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
29103 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
29104 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
29105 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
29106 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
29107 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
29108 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
29109 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
29110 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
29111 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
29112 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
29113 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
29114 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
29115 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
29116 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
29117 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
29118 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
29119 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
29120 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
29121 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
29122 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
29123 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
29124 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
29125 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
29126 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
29127 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
29128 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
29129 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
29130 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
29131 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
29132 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
29133 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
29134 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
29135 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
29136 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
29137 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
29138 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
29148 SWIGEXPORT(void) SWIG_init(void) {
29149 static PyObject
*SWIG_globals
= 0;
29150 static int typeinit
= 0;
29153 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29154 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29155 d
= PyModule_GetDict(m
);
29158 for (i
= 0; swig_types_initial
[i
]; i
++) {
29159 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29163 SWIG_InstallConstants(d
,swig_const_table
);
29165 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29166 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
29167 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
29168 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
29169 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
29170 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
29171 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
29172 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
29173 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
29174 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
29175 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
29176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
29177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
29178 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
29179 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
29180 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
29181 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
29182 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
29183 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
29184 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
29185 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
29186 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
29187 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
29188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
29189 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
29190 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
29191 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
29192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
29193 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
29194 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
29195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
29196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
29197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
29198 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
29199 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
29200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
29201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
29202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
29203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
29204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
29205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
29206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
29207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
29208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
29209 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
29210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
29211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
29212 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
29213 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
29214 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
29215 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
29216 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
29218 // Map renamed classes back to their common name for OOR
29219 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
29221 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
29222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
29223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
29224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
29225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
29226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
29227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
29228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
29229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
29230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
29231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
29232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
29233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
29234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
29235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
29236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
29237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
29238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
29239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
29240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
29241 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
29243 // Map renamed classes back to their common name for OOR
29244 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
29245 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
29247 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
29248 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
29249 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
29251 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");